wangguan
2020-11-04 2ae9edd5bfd8b8baabb8cd995485f9ade4faebc9
Assets/Scripts/TowerDefense/UI/HUD/EndlessGameUI.cs
@@ -1455,7 +1455,8 @@
        /// </summary>
        protected void disableRandomTowerBtn()
        {
            randomTowerBtn.interactable = false;
            randomTowerBtn.GetComponent<EndlessRandomTower>().ChangeBtnClick();
            //randomTowerBtn.interactable = false;
            if (towerPriceText)
            {
                towerPriceText.color = new Color(0.5f, 0.5f, 0.5f);
@@ -1477,7 +1478,10 @@
                towerPriceText.color = new Color(1.0f, 1.0f, 1.0f);
            if (randomTowerBtn)
                randomTowerBtn.interactable = true;
            {
                randomTowerBtn.GetComponent<EndlessRandomTower>().ChangeBtnClickNormal();
                //randomTowerBtn.interactable = true;
            }
            tdBuyDisable = false;
        }