| | |
| | | /// </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); |
| | |
| | | towerPriceText.color = new Color(1.0f, 1.0f, 1.0f); |
| | | |
| | | if (randomTowerBtn) |
| | | randomTowerBtn.interactable = true; |
| | | { |
| | | randomTowerBtn.GetComponent<EndlessRandomTower>().ChangeBtnClickNormal(); |
| | | //randomTowerBtn.interactable = true; |
| | | } |
| | | tdBuyDisable = false; |
| | | } |
| | | |