Beispiel #1
0
 public void RemoveLife()
 {
     if (transform.childCount > 1)
     {
         Destroy(transform.GetChild(0).gameObject);
     }
     else
     {
         _scoreKeeper.EndGame();
     }
 }