Files
HelixJump/Assets/DarkMatter/Code/Core/Contracts/IPool.cs
2025-12-16 23:32:38 +05:45

15 lines
232 B
C#

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