public void SelectTile(BuildTowers tile) { if (selectedTile == tile) { DeselectTile(); return; } selectedTile = tile; turretToBuild = null; selectUI.SetTarget(tile); }
public void SelectPlatform(Platform platform) { if (selectedPlatform == platform) { DeselectNode(); return; } selectedPlatform = platform; towerToBuild = null; SetBorder(-1); platformUI.SetTarget(platform); }