Example #1
0
    public void Show(Tower tower)
    {
        _upgradeIcon.Load(tower);
        _sellIcon.Load(tower);

        transform.position = tower.transform.position;
        gameObject.SetActive(true);
    }
Example #2
0
    public void Show(GameModel gm, Tower tower)
    {
        transform.position = tower.transform.position;

        m_UpgradeIcon.Load(gm, tower);
        m_SellIcon.Load(tower);

        gameObject.SetActive(true);
    }