| | |
| | | PlayUpgradeEffect(m_listTower[i]); |
| | | } |
| | | } |
| | | GameConfig.IsUpgradeTowerLevel = true; |
| | | UpdateMinLevelArr(); |
| | | EndlessRandomTower.instance.UpdateDescDisplay(); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | |
| | | if (checkTowerPlaceTower != null) |
| | | { |
| | | Debug.Log(checkTowerPlaceTower.name); |
| | | //Debug.Log(checkTowerPlaceTower.name); |
| | | |
| | | if (m_CurrentTower.controller.towerFeature == EFeatureTower.NULL) |
| | | { |
| | |
| | | bool successfulPurchase = EndlessLevelManager.instance.Currency.TryPurchase(cost); |
| | | if (!successfulPurchase) return false; |
| | | |
| | | EndlessRandomTower.instance.UpdateDescDisplay(); |
| | | SetUpGhostTower(tow); |
| | | //Debug.Log("设置影子塔防."); |
| | | m_CurrentTower.Show(); |