Exemple #1
0
    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);
    }
Exemple #2
0
 public void SelectBuild(Node node)
 {
     buildUI.SetTarget(node);
 }