namespace Lean.Pool { /// If you implement this interface in a component on your pooled prefab, then the OnSpawn and OnDespawn methods will be automatically called when the associated LeanGameObjectPool.Notification = PoolableInterface. public interface IPoolable { /// Called when this poolable object is spawned. void OnSpawn(); /// Called when this poolable object is despawned. void OnDespawn(); } }