Example #1
0
        public void UpgradeTower(int upgradePath = 0)
        {
            string exception = currentTower.Upgrade(upgradePath);

            if (exception == "")
            {
                upgradeOption = 0;
                floatingButtons.SetActive(false);
            }
            else
            {
                UIGameMessage.DisplayMessage(exception);
            }
        }