Beispiel #1
0
 private void AnimationEnded()
 {
     CurrentState = FlyByState.COMPLETED;
     if (this.FlyByCompleted != null)
     {
         this.FlyByCompleted();
     }
 }
Beispiel #2
0
 public void PerformFlyBy()
 {
     if (CurrentState != 0)
     {
         LoadInitialState();
     }
     base.gameObject.SetActive(value: true);
     CurrentState = FlyByState.INPROGRESS;
 }
Beispiel #3
0
 private void LoadInitialState()
 {
     CurrentState = FlyByState.WAITING_TO_START;
 }