diff --git a/Assets/Scripts/PlacementSystem/PlacementManager.cs b/Assets/Scripts/PlacementSystem/PlacementManager.cs index 2ebbee2..b7e678e 100644 --- a/Assets/Scripts/PlacementSystem/PlacementManager.cs +++ b/Assets/Scripts/PlacementSystem/PlacementManager.cs @@ -65,14 +65,21 @@ public class TowerPlacementManager : MonoBehaviour private void OnEnable() { + OnTowerPlaced += PlayPlaceSfx; MoneyManager.OnShopSelected += OnShopSelected; } private void OnDisable() { + OnTowerPlaced -= PlayPlaceSfx; MoneyManager.OnShopSelected -= OnShopSelected; } + private void PlayPlaceSfx(TowerInfo info) + { + AudioManager.PlaySound("BuildTower", Vector3.zero); + } + private void OnShopSelected(TowerInfo info) { SelectedTowerInfo = info;