예제 #1
0
    private void OnDisable()
    {
        player.DeregisterPlayerEvents();
        playerCamera.DeregisterPlayerCameraEvents();
        checkObjectCamera.InteractWithObjectEvent -= InteractWithObjectEventCalled;

        player.playerInput.OnLeftBumperPressedEvent  -= OnLeftBumperPressedEventCalled;
        player.playerInput.OnRightBumperPressedEvent -= OnRightBumperPressedEventCalled;
    }