Ejemplo n.º 1
0
 public void HeadHitBox(GameObject headHitBox)
 {
     lives -= 1;
     Debug.Log("Lives are: " + lives);
     if (lives == -1)
     {
         GameController.instance.GameOver();
     }
     else
     {
         headController.DisplayLivesRemaining(lives);
     }
 }