public void AddingNewTower(GameObject tower) { lastTower = tower; NewTower?.Invoke(); newTowerSound.time = 0.05f; newTowerSound.Play(); }
public void SellTower() { NewTower?.Invoke(true); upgradeMenu.SetActive(false); ChangeMoney(pressedTower.currentCost / 2); sellTowerSound.time = 0.05f; sellTowerSound.Play(); pressedTower.DestroyThisTower(); }