Skip to content

Commit a827f44

Browse files
committed
made sure to unassign actions in OnDisable
1 parent 2b6d8c8 commit a827f44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/com.unity.inputsystem/InputSystem/Plugins/UI/InputSystemUIInputModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,9 +1653,9 @@ protected override void OnDisable()
16531653
ResetPointers();
16541654

16551655
InputActionState.s_GlobalState.onActionControlsChanged.RemoveCallback(m_OnControlsChangedDelegate);
1656-
16571656
DisableAllActions();
16581657
UnhookActions();
1658+
UnassignActions();
16591659

16601660
base.OnDisable();
16611661
}

0 commit comments

Comments
 (0)