Ejemplo n.º 1
0
 public void IsDead()
 {
     listOfTheLiving.RemoveUnitFromList(this);
     if (this is King)
     {
         infoUI.GameOver((isWhite) ? "White" : "Black");
     }
     Destroy(gameObject);
 }