Example #1
0
    private void UpdateCameraModeButtonText()
    {
        CameraMode cameraMode = playerProfileManager.GetCameraModeState();

        cameraModeText.text = "Camera Mode (" + cameraMode + ")";
    }
Example #2
0
 private void UpdateCameraMode()
 {
     cameraMode = playerProfileManager.GetCameraModeState();
     cinemachineVirtualCamera.gameObject.SetActive(cameraMode == CameraMode.Cinemachine);
 }