Skip to content

Commit

Permalink
Fix label of touchAndHoldDelayMillis
Browse files Browse the repository at this point in the history
  • Loading branch information
nowsprinting committed Dec 19, 2024
1 parent 3c6950b commit a0ae4d8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions Editor/Localization/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -303,16 +303,16 @@ msgid "Abort this Agent when the interactable UI/2D/3D element does not appear f
msgstr "指定した秒数の間、対話可能なUI/2D/3D要素が出現しなければ、Agentの実行を中断します"

# uGUI click and hold operator options
msgid "Touch and Hold Operator Options"
msgstr "タッチ&ホールドオペレーター設定"
msgid "Click and Hold Operator Options"
msgstr "クリック&ホールド オペレーター設定"

# touchAndHoldDelayMillis
msgid "Touch and Hold Millis"
msgstr "タッチ&ホールド時間[ミリ秒]"
msgid "Click and Hold Millis"
msgstr "クリック&ホールド時間[ミリ秒]"

# touchAndHoldDelayMillis tooltip
msgid "Delay time for touch-and-hold [ms]"
msgstr "タッチ&ホールドの継続時間[ミリ秒]"
msgid "Delay time for click-and-hold [ms]"
msgstr "クリック&ホールドの継続時間[ミリ秒]"

# gizmos
msgid "Enable Gizmos"
Expand Down
6 changes: 3 additions & 3 deletions Editor/UI/Agents/UGUIMonkeyAgentEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ public class UGUIMonkeyAgentEditor : UnityEditor.Editor
ScreenCapture.StereoScreenCaptureMode.LeftEye;

// uGUI click and hold operator options
private static readonly string s_uGUIClickAndHoldOperatorOptions = L10n.Tr("Touch and Hold Operator Options");
private static readonly string s_touchAndHoldDelayMillis = L10n.Tr("Touch and Hold Millis");
private static readonly string s_touchAndHoldDelayMillisTooltip = L10n.Tr("Delay time for touch-and-hold [ms]");
private static readonly string s_uGUIClickAndHoldOperatorOptions = L10n.Tr("Click and Hold Operator Options");
private static readonly string s_touchAndHoldDelayMillis = L10n.Tr("Click and Hold Millis");
private static readonly string s_touchAndHoldDelayMillisTooltip = L10n.Tr("Delay time for click-and-hold [ms]");
private SerializedProperty _touchAndHoldDelayMillisProp;
private GUIContent _touchAndHoldDelayMillisGUIContent;

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ An instance of this Agent (.asset file) can contain the following.
<dt>Lifespan</dt><dd>Duration of random operation execution time in secounds. If 0 is specified, the operation is almost unlimited (TimeSpan.MaxValue). With this setting, neither Autopilot nor the app itself will exit when the Agent exits. It will not do anything until the next Scene switch</dd>
<dt>Delay</dt><dd>Wait interval [milliseconds] between random operations</dd>
<dt>No-Element Timeout</dt><dd>Abort this Agent when the interactable UI/2D/3D element does not appear for the specified seconds</dd>
<dt>Touch and Hold Millis</dt><dd>Delay time for touch-and-hold [ms]</dd>
<dt>Click and Hold Millis</dt><dd>Delay time for click-and-hold [ms]</dd>
<dt>Enable Gizmos</dt><dd>Show Gizmos on GameView during running monkey test if true</dd>
</dl>

Expand Down
4 changes: 2 additions & 2 deletions README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ uGUIのコンポーネントをランダムに操作するAgentです。
<dt>実行時間</dt><dd>ランダム操作の実行時間を秒で指定します。0を指定するとほぼ無制限(TimeSpan.MaxValue)に動作します。この設定でAgentが終了してもオートパイロットおよびアプリ自体は終了しません。次にSceneが切り替わるまでなにもしない状態になります</dd>
<dt>操作間隔</dt><dd>ランダム操作間のウェイト間隔をミリ秒で指定します</dd>
<dt>要素なしタイムアウト</dt><dd>指定した秒数の間、対話可能なUI/2D/3D要素が出現しなければ、Agentの実行を中断します</dd>
<dt>タッチ&ホールド時間</dt><dd>タッチ&ホールドの継続時間をミリ秒で指定します</dd>
<dt>Gizmo を有効</dt><dd>もし有効ならモンキー操作中の GameView に Gizmo を表示します。もし無効なら GameView に Gizmo を表示しません</dd>
<dt>クリック&ホールド時間</dt><dd>クリック&ホールドの継続時間をミリ秒で指定します</dd>
<dt>Gizmos を有効</dt><dd>もし有効ならモンキー操作中の GameView に Gizmo を表示します。もし無効なら GameView に Gizmo を表示しません</dd>
</dl>

***スクリーンショット設定:***
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Agents/UGUIMonkeyAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class UGUIMonkeyAgent : AbstractAgent
public int secondsToErrorForNoInteractiveComponent = 5;

/// <summary>
/// Delay time for touch-and-hold
/// Delay time for click-and-hold
/// </summary>
public int touchAndHoldDelayMillis = 1000;

Expand Down

0 comments on commit a0ae4d8

Please sign in to comment.