Beispiel #1
0
    void Start()
    {
        upgradeoptions = FindObjectOfType <PlayerPrefPurchase>();
        m_checkStatus  = FindObjectOfType <ButtonFireSpeed>();

        PurchaseAmmount = 3;
        SetupdateButtonText(upgradeoptions.GetUpdateCodePersecond());
    }
Beispiel #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();
 }
Beispiel #3
0
 void Start()
 {
     m_damageupdate    = FindObjectOfType <PlayerEnergyPref>();
     m_gateway         = FindObjectOfType <PlayerCoinsPrefs>();
     m_purchaseGateway = FindObjectOfType <PlayerPrefPurchase>();
 }