Fix Object Instantiating
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
using Enums;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Services.Interfaces {
|
||||
public interface IObjectPool<T> where T : class {
|
||||
T Get();
|
||||
void Fill();
|
||||
void Release(T gameObject);
|
||||
T Get(GemType type, Vector2Int position, float offsetY);
|
||||
void Release(T gemView);
|
||||
void Clear();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user