Exemplo n.º 1
0
 public override void OnPause(bool paused)
 {
     if (iCodeBehavior != null)
     {
         iCodeBehavior.DisableStateMachine(paused);
     }
 }
 public override TaskStatus OnUpdate()
 {
     if (iCodeBehavior != null)
     {
         iCodeBehavior.DisableStateMachine(false);
     }
     return(TaskStatus.Success);
 }