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