We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b995944 commit 4464508Copy full SHA for 4464508
Packages/com.unity.inputsystem/InputSystem/Plugins/PlayerInput/PlayerInput.cs
@@ -955,11 +955,13 @@ public void ActivateInput()
955
m_InputActive = true;
956
957
// Disable project-wide actions if they are being used by this PlayerInput.
958
+ #if UNITY_INPUT_SYSTEM_PROJECT_WIDE_ACTIONS
959
if (m_Actions != null && m_Actions == InputSystem.actions)
960
{
961
InputSystem.AllowEnableActionsAfterEnterPlayMode(false);
962
InputSystem.actions.Disable();
963
}
964
+ #endif
965
966
// If we have no current action map but there's a default
967
// action map, make it current.
0 commit comments