11 lines
256 B
C#
11 lines
256 B
C#
using UnityEngine.Pool;
|
|
|
|
namespace DanieleMarotta.RiversongCodeShowcase
|
|
{
|
|
public interface IPoolingService
|
|
{
|
|
void AddPool<T>(int key, IObjectPool<T> pool) where T : class;
|
|
|
|
IObjectPool<T> GetPool<T>(int key) where T : class;
|
|
}
|
|
} |