Beispiel #1
0
    public void DoUpGrade()
    {
        if (Trade.Player.IsCompleteUpGrade(tower.UpGradePrice))
        {
            tower.ApplyUpGrade(tower.Properties);
            Trade.UpdatePriceUpGrade(NextPriceUpdateTower, tower);
        }

        Trade.Canvas.SetActive(false);
    }