using System; using System.Collections; using System.Collections.Generic; using Unity.VisualScripting; using UnityEngine; public class TowerPlacementManager : MonoBehaviour { /// /// Sender /// public static event Action OnSpawnGridRequested; public static TowerPlacementManager Singleton; private void Start() { if (Singleton != this) Destroy(Singleton); Singleton = this; OnSpawnGridRequested?.Invoke(this); } public void OnSlotClicked(SlotManager slot, GridManager grid, int x, int y) { } }