Esempio n. 1
0
 void Awake()
 {
     saveData   = "000000000000000000000000000000000";
     GSM        = GoogleServiceManager.Instance();
     levelPoint = 0;
     for (int i = 0; i < 8; i++)
     {
         dmgRate[i]       = 1.0f;
         atkSpdRate[i]    = 1.0f;
         dmgRateInt[i]    = 0;
         atkSpdRateInt[i] = 0;
     }
 }
Esempio n. 2
0
 public static GoogleServiceManager Instance()
 {
     if (instance == null)
     {
         instance = FindObjectOfType <GoogleServiceManager>();
         if (instance == null)
         {
             instance = new GameObject("GooglerServiceManger").AddComponent <GoogleServiceManager>();
             instance.gameObject.AddComponent <UpgradeShopManager>();
             instance.gameObject.AddComponent <AdmobVideoScript>();
         }
     }
     return(instance);
 }
Esempio n. 3
0
    void Awake()
    {
        TC        = TowerCounter.Instance();
        SM        = SynergyManager.Instance();
        GSM       = GoogleServiceManager.Instance();
        SDM       = SoundManager.Instance();
        slotCount = 3;
        for (int i = slotCount; i < 8; i++)
        {
            turretShopIndex[i] = -1;
        }

        PlayerStats.Money += 50;
        RerollTurretShop();
        UnlockCost.text = "300";
        RerollCost.text = "50";
    }