Beispiel #1
0
 public void DIE()
 {
     state = MovePhase.EndTurn;
     turnCRTL.targets.Remove(transform);
     Debug.Log("DIED");
     turnCRTL.units.Remove(gameObject);
     turnCRTL.SortByIndex(finalIndex);
     turnCRTL.SortList();
     GameObject.Destroy(gameObject);
 }