예제 #1
0
 void UpdateDamageText()
 {
     damageUpgradeCost = GetNextLevelCost(damageLevel);
     upgradeMenu.UpdateDamagePrice(damageUpgradeCost, CanAfford(damageUpgradeCost));
     upgradeMenu.UpdateDamageLevel(damageLevel, GetDamage());
 }