Esempio n. 1
0
 void SetPhase(Phase newPhase)
 {
     if (currentPhase != newPhase)
     {
         taskManager.AbortAll();
         Debug.Log("AbortCurrent;" + newPhase);
         currentPhase = newPhase;
         SwitchAction();
     }
 }