예제 #1
0
 public void LoseLife()
 {
     playerLives -= 1;
     if (playerLives == 0)
     {
         ScoreTracker.CheckScore(playerScore);
         SceneManager.LoadScene("EndScene");
     }
 }