示例#1
0
 void ActivateNextUnit()
 {
     if (grid.activeUnits.Count == 0)
     {
         Debug.Log("No more units to activate, end round");
         EndRound();
     }
     else
     {
         activeUnit = grid.activeUnits[0];
         activeUnit.ActivateUnit();
     }
 }