Skip to content

Commit

Permalink
Mod to rename ErrorHandlerAgent from LogMessageHandlerAgent
Browse files Browse the repository at this point in the history
  • Loading branch information
nowsprinting committed Nov 5, 2024
1 parent 40c5924 commit 89f98d0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Editor/Localization/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ msgid "Scene Crossing Agents"
msgstr "Scene横断Agents"

# sceneCrossingAgents tooltip
msgid "Agents running by scene crossing. The specified agents will have the same lifespan as Autopilot (i.e., use DontDestroyOnLoad) for specifying, e.g., LogMessageHandlerAgent and UGUIEmergencyExitAgent."
msgstr "Sceneを横断して実行されるAgent。指定されたAgentの寿命は Autopilot と同じになります(つまり、DontDestroyOnLoad を使用します)。たとえば、LogMessageHandlerAgent や UGUIEmergencyExitAgent などを指定します"
msgid "Agents running by scene crossing. The specified agents will have the same lifespan as Autopilot (i.e., use DontDestroyOnLoad) for specifying, e.g., ErrorHandlerAgent and UGUIEmergencyExitAgent."
msgstr "Sceneを横断して実行されるAgent。指定されたAgentの寿命は Autopilot と同じになります(つまり、DontDestroyOnLoad を使用します)。たとえば、ErrorHandlerAgent や UGUIEmergencyExitAgent などを指定します"

# Header: Autopilot Run Settings
msgid "Autopilot Run Settings"
Expand Down
2 changes: 1 addition & 1 deletion Editor/UI/Settings/AutopilotSettingsEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class AutopilotSettingsEditor : UnityEditor.Editor
private static readonly string s_fallbackAgentTooltip = L10n.Tr("Agent for when not assigned");

private static readonly string s_sceneCrossingAgents = L10n.Tr("Scene Crossing Agents");
private static readonly string s_sceneCrossingAgentsTooltip = L10n.Tr("Agents running by scene crossing. The specified agents will have the same lifespan as Autopilot (i.e., use DontDestroyOnLoad) for specifying, e.g., LogMessageHandlerAgent and UGUIEmergencyExitAgent.");
private static readonly string s_sceneCrossingAgentsTooltip = L10n.Tr("Agents running by scene crossing. The specified agents will have the same lifespan as Autopilot (i.e., use DontDestroyOnLoad) for specifying, e.g., ErrorHandlerAgent and UGUIEmergencyExitAgent.");

private static readonly string s_autopilotRunSettingsHeader = L10n.Tr("Autopilot Run Settings");
private static readonly string s_lifespanSec = L10n.Tr("Lifespan Sec");
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Set the `Fallback Agent` to an `UGUIMonkeyAgent`'s .asset file.
Set the Agents to run by scene crossing, independent of `Scene Agent Maps` and `Fallback Agent`.

The specified agents will have the same lifespan as Autopilot (i.e., use `DontDestroyOnLoad`)
for specifying, e.g., `LogMessageHandlerAgent` and `UGUIEmergencyExitAgent`.
for specifying, e.g., `ErrorHandlerAgent` and `UGUIEmergencyExitAgent`.

#### Autopilot Run Settings

Expand Down
2 changes: 1 addition & 1 deletion README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Sceneごとに自動実行を行なうAgent設定ファイル(.asset)の対
`Scene Agent Maps` および `Fallback Agent`とは独立して、Sceneを横断して実行されるAgentを設定します。

指定されたAgentの寿命はオートパイロット本体と同じになります(つまり、`DontDestroyOnLoad` を使用します)。
たとえば、`LogMessageHandlerAgent``UGUIEmergencyExitAgent` などを指定します。
たとえば、`ErrorHandlerAgent``UGUIEmergencyExitAgent` などを指定します。

#### オートパイロット実行設定

Expand Down
2 changes: 1 addition & 1 deletion Runtime/Settings/AutopilotSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public class AutopilotSettings : ScriptableObject
/// <summary>
/// Agents running by scene crossing.
/// The specified agents will have the same lifespan as <c>Autopilot</c> (i.e., use <c>DontDestroyOnLoad</c>)
/// for specifying, e.g., <c>LogMessageHandlerAgent</c>, <c>UGUIEmergencyExitAgent</c>.
/// for specifying, e.g., <c>ErrorHandlerAgent</c>, <c>UGUIEmergencyExitAgent</c>.
/// </summary>
public List<AbstractAgent> sceneCrossingAgents = new List<AbstractAgent>();

Expand Down

0 comments on commit 89f98d0

Please sign in to comment.