using System.Collections.Generic; using UnityEngine; namespace Darkmatter.Core { public interface IPool { IReadOnlyCollection All { get; } void ReturnToPool(T obj); T GetFromPool(); } }