Exemple #1
0
    public void SelectTowerFrame(TowerFrame towerFrame)
    {
        if (_selectedTowerFrame == towerFrame)
        {
            DeselectNode();
            return;
        }

        _selectedTowerFrame = towerFrame;
        _turretToBuild      = null;

        SelectedNodeUi.SetTarget(_selectedTowerFrame);
    }
Exemple #2
0
 public void DeselectNode()
 {
     _selectedTowerFrame = null;
     SelectedNodeUi.Hide();
 }