Skip to content

Commit b994e4b

Browse files
committed
Remove unnecessary code
1 parent cd50411 commit b994e4b

File tree

1 file changed

+0
-9
lines changed
  • Packages/com.unity.inputsystem/InputSystem/Plugins/PlayerInput

1 file changed

+0
-9
lines changed

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -954,15 +954,6 @@ public void ActivateInput()
954954

955955
m_InputActive = true;
956956

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-
966957
// If we have no current action map but there's a default
967958
// action map, make it current.
968959
if (m_CurrentActionMap == null && m_Actions != null && !string.IsNullOrEmpty(m_DefaultActionMap))

0 commit comments

Comments
 (0)