Пример #1
0
    private void TowerSellConfirm()
    {
        AudioHandler.ClickSound();

        // Sell the selected tower.
        Player.health += selectedTowerForSell.SellPrice();
        GameObject.Destroy(selectedTowerForSell.GetGameobject());

        HideSellOptions();
    }
Пример #2
0
 private void TowerPurchaseCancel()
 {
     AudioHandler.ClickSound();
     GameObject.Destroy(selectedTowerForPurchase.GetGameobject());
     HideBuyOptions();
 }