public void Show(Tower tower) { _upgradeIcon.Load(tower); _sellIcon.Load(tower); transform.position = tower.transform.position; gameObject.SetActive(true); }
public void Show(GameModel gm, Tower tower) { transform.position = tower.transform.position; m_UpgradeIcon.Load(gm, tower); m_SellIcon.Load(tower); gameObject.SetActive(true); }