Ejemplo n.º 1
0
 private void setCodePersecondUpgrade()
 {
     playerpref.SetCodePersecond(playerpref.GetCodePerSecond() + 1);             //set COde persecode ui
     playerpref.SetUpgradeCodePerSecondCoins(playerpref.GetUpdateCodePersecond() //coins per check
                                             + m_upgradeCoins.RandomCoinsValue());
     upgradePurchaseUI();
 }
Ejemplo n.º 2
0
 void Start()
 {
     IsCodePerSecond  = true;
     m_accessgatedway = FindObjectOfType <CoinsPurchaseGateWay>();
     playerpref       = FindObjectOfType <PlayerPrefPurchase>();
     m_upgradeCoins   = FindObjectOfType <PurchaseSpeedBoost>();
     SettextTitleUi(m_TitleCodePersecond);
     setContentTextUI(playerpref.GetCodePerSecond().ToString() + " CPS");
     isCoinsPowerIncreses(1);
     //  upgradePurchaseUI();
 }