private void OnDisable() { controls.Disable(); controls.Player.LeftGrip.performed -= LeftGrip; controls.Player.RightGrip.performed -= RightGrip; controls.Player.LeftIndex.performed -= LeftIndex; controls.Player.RightIndex.performed -= RightIndex; controls.Player.LeftThumbstick.performed -= LeftThumbstick; controls.Player.RightThumbstick.performed -= RightThumbstick; controls.Player.RightThumbstickPress.performed -= RightThumbstickPress; controls.Player.LeftGrip.canceled -= LeftGripCancel; controls.Player.RightGrip.canceled -= RightGripCancel; controls.Player.LeftIndex.canceled -= LeftIndexCancel; controls.Player.RightIndex.canceled -= RightIndexCancel; controls.Player.LeftThumbstick.canceled -= LeftThumbstickCancel; controls.Player.RightThumbstick.canceled -= RightThumbstickCancel; controls.Player.RightThumbstickPress.canceled -= RightThumbstickPressCancel; controls.Hacker.CameraMovement.performed -= CameraMovement; controls.Hacker.CameraMovement.canceled -= CameraMovementStop; controls.Hacker.Click.performed -= Click; }