void ChangeCamera() { switch (m_curCameraMode) { case CameraMode.FirstPerson: FirstPersonCamera.gameObject.SetActive(true); ThirdPersonCamera.gameObject.SetActive(false); break; // case CameraMode.ThirdPersonFree: case CameraMode.ThirdPersonLocked: FirstPersonCamera.gameObject.SetActive(false); ThirdPersonCamera.gameObject.SetActive(true); ThirdPersonCamera.SwitchCameraMode(m_curCameraMode); break; } }