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