예제 #1
0
 public void Activate()
 {
     if (!HighLogic.LoadedSceneIsFlight)
     {
         return;
     }
     if (!camera.IsActive)
     {
         camera.Activate();
         base.StartCoroutine("CapRotator");
     }
 }
예제 #2
0
 public void Activate()
 {
     if (!HighLogic.LoadedSceneIsFlight)
     {
         return;
     }
     if (_camera == null)
     {
         Log.Info("_camera is null, reinitializing");
         OnStart(StartState.Orbital);
         _camera.IsActive = true;
     }
     if (_camera.IsActive)
     {
         return;
     }
     _camera.Activate();
     StartCoroutine("CapRotator");
 }