public void SelectTowerFrame(TowerFrame towerFrame) { if (_selectedTowerFrame == towerFrame) { DeselectNode(); return; } _selectedTowerFrame = towerFrame; _turretToBuild = null; SelectedNodeUi.SetTarget(_selectedTowerFrame); }
public void DeselectNode() { _selectedTowerFrame = null; SelectedNodeUi.Hide(); }