private void EnableCameraControl() { if (cameraControl == null) { cameraControl = new ManualCameraControl(InputSimulationProfile); } }
private void DisableCameraControl() { if (cameraControl != null) { cameraControl = null; } }
private void EnableCameraControl() { if (cameraControl == null) { cameraControl = new ManualCameraControl(InputSimulationProfile); if (CameraCache.Main != null) { cameraControl.SetInitialTransform(CameraCache.Main.transform); } } }