public void SellTurret() { PlayerStatus.Money += selectedTurretDesign.SellPrice; Destroy(_turret); selectedTurretDesign = null; isUpgraded = false; }
private void BuildTurret() { PlayerStatus.Money -= BuildManager.Instance.SelectedTurret.cost; _turret = Instantiate(BuildManager.Instance.SelectedTurret.prefab, GetPosition(), Quaternion.identity); selectedTurretDesign = BuildManager.Instance.SelectedTurret; }