Beispiel #1
0
 public override void OnEnd(GridUnit gridUnit)
 {
     if (gridUnit.gameObject.layer == GridManager.ENEMY_UNITS_LAYER)
     {
         AiInitiatedBattle(gridUnit);
     }
     else
     {
         gridUnit.ClearInteractionData();
         gridUnit.ActionIsDone();
     }
 }
Beispiel #2
0
 public override void OnEnd(GridUnit gridUnit)
 {
     gridUnit.ClearInteractionData();
     gridUnit.ActionIsDone();
 }