| | |
| | | /// <summary> |
| | | /// 随机放置Tower按钮禁止使用,灰掉. |
| | | /// </summary> |
| | | protected void disableRandomTowerBtn() |
| | | public void disableRandomTowerBtn() |
| | | { |
| | | randomTowerBtn.GetComponent<EndlessRandomTower>().ChangeBtnClick(); |
| | | //randomTowerBtn.interactable = false; |
| | |
| | | /// <summary> |
| | | /// 随机购买Tower的按钮重设置为有效. |
| | | /// </summary> |
| | | protected void enableRandomTowerBtn() |
| | | public void enableRandomTowerBtn() |
| | | { |
| | | // ATTENTION TO FIX: 再次判断是因为有的地方是直接调用 |
| | | if ((TowerPrice.instance.currentTowerPrice > EndlessLevelManager.instance.Currency.currentCurrency) || |