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