Exemplo n.º 1
0
 public void EndGame()
 {
     if (gameData.wealth >= gameData.wealthGoal)
     {
         audioMan.Victory();
         gameData.CalculateScore();
         endGame.SetActive(true);
     }
 }