Skip to content

Commit 3300fd0

Browse files
committed
Rephrase warning message
1 parent aa19430 commit 3300fd0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Packages/com.unity.inputsystem/InputSystem/Plugins/PlayerInput/PlayerInputEditor.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,9 @@ public override void OnInspectorGUI()
8787
// Check for if we're using project-wide actions to raise warning
8888
if (actions == InputSystem.actions)
8989
{
90-
EditorGUILayout.HelpBox("Project-Wide Actions should not used with Player Input because it's a " +
91-
"singleton reference and all actions maps are enabled by default.\r\n" +
92-
"If you choose to do so in Single Player, please disable all action maps on Start() and " +
93-
"manually enable the ones needed.", MessageType.Warning);
90+
EditorGUILayout.HelpBox("Project-wide actions asset is not recommended to be used with Player " +
91+
"Input because it is a singleton reference and all actions maps are enabled by default.\r\n",
92+
MessageType.Warning);
9493
}
9594
}
9695

0 commit comments

Comments
 (0)