コード例 #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;
     }
 }
コード例 #2
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";
    }