Esempio n. 1
0
 public void OnUpdate()
 {
     if (!finished)
     {
         StateTime += Time.deltaTime;
         for (int i = 0; i < ActiveActions.Count; i++)
         {
             FsmStateAction fsmStateAction = ActiveActions[i];
             fsmStateAction.Init(this);
             fsmStateAction.OnUpdate();
         }
         CheckAllActionsFinished();
     }
 }