public void UpgradePlayer() { if (Data.GetCurrency() < Data.GetUpgradePrice()) { return; } DecreaseCurrency(Data.GetUpgradePrice()); Data.UpgradePlayer(); }