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