Beispiel #1
0
 public void LiveCameraIsOn(CameraStateBase.ModeId cameraMode)
 {
     cameraController.SetCameraMode(cameraMode);
     Assert.IsTrue(cameraController.currentCameraState.defaultVirtualCamera.gameObject.activeInHierarchy);
 }
Beispiel #2
0
 public void SetCameraMode(CameraStateBase.ModeId newMode)
 {
     currentCameraState.OnUnselect();
     currentMode = newMode;
     currentCameraState.OnSelect();
 }