示例#1
0
 public void OnUpdate()
 {
     if (this.finished)
     {
         return;
     }
     this.StateTime += Time.get_deltaTime();
     for (int i = 0; i < this.ActiveActions.get_Count(); i++)
     {
         SkillStateAction fsmStateAction = this.ActiveActions.get_Item(i);
         fsmStateAction.Init(this);
         fsmStateAction.OnUpdate();
     }
     this.CheckAllActionsFinished();
 }