using UnityEngine; using System.Collections.Generic; using UnityEngine.UI; namespace D2D { public class PoolManager : MonoBehaviour { [Tooltip("List of prefabs to spawn.")] [SerializeField] private List _prefabs; // List of prefabs [Tooltip("List of UI buttons.")] [SerializeField] private List