private void OnDisable() { player.DeregisterPlayerEvents(); playerCamera.DeregisterPlayerCameraEvents(); checkObjectCamera.InteractWithObjectEvent -= InteractWithObjectEventCalled; player.playerInput.OnLeftBumperPressedEvent -= OnLeftBumperPressedEventCalled; player.playerInput.OnRightBumperPressedEvent -= OnRightBumperPressedEventCalled; }