Skip to content

IPoolable Interface

Interface for receiving callbacks from ScriptablePool<T>

C#
public interface IPoolable

Called when the object is removed from the pool.

C#
void OnUnpooled()

Called when the object is added to the pool.

C#
void OnPooled()