public void SelectTurretToEdit(BuildablePoint point) { // Editing a existing turret in play // If node already selected - toggle off if (selectedTurret == point) { DeselectTurret(); return; } selectedTurret = point; turretToBuild = null; // Reference to the Build UI -- pass in point selected buildUi.SetTarget(point); }
public void SelectBuild(Node node) { buildUI.SetTarget(node); }