private void DeactivateDetectionCamera() { //Debug.Log("Action is coming!"); PlayerCamera.SetActive(true); //FakePlayerCamera.SetActive(false); DetectionCamera.SetActive(false); CameraState = DetectionCameraState.Inactive; }
private void ActivateDetectionCamera() { if (DetectionStarted != null && !startEventTriggered) { DetectionStarted(this, EventArgs.Empty); startEventTriggered = true; CutsceneManagement.InCutscene = true; } //Debug.Log("He knows the way!"); PlayerCamera.SetActive(false); //FakePlayerCamera.SetActive(false); DetectionCamera.SetActive(true); CameraState = DetectionCameraState.Active; }