Exemple #1
0
 public void UpgradeMultiplier()
 {
     if (prefsControl.GetCurrentGameMoney() >= MULTIPLIER)
     {
         prefsControl.SetMinimumMultipler(prefsControl.GetMinimumMultipler() + 1);
         prefsControl.SetCurrentGameMoney(prefsControl.GetCurrentGameMoney() - MULTIPLIER);
         CalculateLevel();
     }
     else
     {
         error.gameObject.SetActive(true);
     }
 }