Example #1
0
 public void SetSelectedTower(UIShop shop)
 {
     selection        = shop;
     prefab           = shop.getPrefab();
     tower            = prefab.GetComponent <Tower>();
     cost             = tower.GetPrice();
     holdTower        = true;
     selected         = true;
     towerText        = tower.GetDescription();
     description.text = towerText;
 }