public void PurchaseTruck() { if (DBManager.money >= 200) { DBManager.money -= 200; gameManScript.AddNewTruck(); UnloadScene(); } else { gameManScript.DisplayPopupDialogue(false, "Oops!", "Not enough money to buy a truck! You need $200!"); UnloadScene(); } }