Exemplo n.º 1
0
    void Start()
    {
        upgradeoptions = FindObjectOfType <PlayerPrefPurchase>();
        m_checkStatus  = FindObjectOfType <ButtonFireSpeed>();

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