protected override void OnReset()
 {
     if (currentInstance != null)
     {
         currentInstance.Stop();
     }
 }
예제 #2
0
 public override void OnGraphStoped()
 {
     if (currentInstance != null)
     {
         currentInstance.Stop();
     }
 }
 protected override void OnExit()
 {
     if (currentInstance != null && (currentInstance.isRunning || currentInstance.isPaused))
     {
         currentInstance.Stop();
     }
 }
예제 #4
0
 void OnExit()
 {
     if (currentInstance != null && (currentInstance.isRunning || currentInstance.isPaused))
     {
         //UnRegisterUpdate();
         currentInstance.Stop();
     }
 }