void ClearTurret() { if (turret != null) { turret.GetComponent <SpriteRenderer>().color = Color.white; turret = null; ToggleBuildUI(false); } }
void SetTurret(TurretController _turret) { turret = _turret; turret.GetComponent <SpriteRenderer>().color = selectedColour; ToggleBuildUI(true); }