예제 #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();
 }