10 lines
220 B
C#
10 lines
220 B
C#
namespace Game.Scripts.Runtime.Abstractions
|
|
{
|
|
public interface IPool<TKey, TValue>
|
|
{
|
|
void Prewarm(TKey key, int count);
|
|
TValue Get(TKey key);
|
|
void Release(TKey key, TValue value);
|
|
}
|
|
}
|