wangguan
2020-12-11 d4eadbf1bac0dba434d4c35e60e643143e770faa
Assets/Scripts/TowerDefense/UI/EndlessUIStart.cs
@@ -166,7 +166,7 @@
        int guide = PlayerPrefs.GetInt("GemBattleGuide");
        GameConfig.IsNewbie = guide == 0;
        //GameConfig.IsNewbie = true;
        //GameConfig.IsNewbie = false;
        GameConfig.IsNewbieStart = GameConfig.IsNewbie;
@@ -509,6 +509,10 @@
            AgentInsManager.instance.ExecAllWavelineAttack(fireSkillID, GameConfig.SkillLevel, false);
            ++GameConfig.EndlessPortUseSkillTowerCount;
        }
        else
        {
            AudioSourceManager.Ins.Play(AudioEnum.UIDisable);
        }
    }
    public void GuideEnergyUp(int count)
@@ -534,7 +538,7 @@
            if (GameConfig.EnergyCount == energyMax)
            {
                Debug.Log("能量已满");
                //Debug.Log("能量已满");
                if (fireSkillBgImg.color != disColor)
                {
                    fireSkillBgImg.color = disColor;
@@ -544,7 +548,7 @@
            }
            else
            {
                Debug.Log("能量达到一次使用");
                //Debug.Log("能量达到一次使用");
                if (fireSkillBgImg.color != normalColor)
                {
                    fireSkillBgImg.color = normalColor;
@@ -635,7 +639,6 @@
            if (!isUpgradeTowerLevel && startTime >= JsonDataCenter.DOUBLE_GEM_TIME)
            {
                EndlessGameUI.instance.UpgradeAllTowerMinLevel(1);
                EndlessRandomTower.instance.UpdateDescDisplay();
                isUpgradeTowerLevel = true;
            }