Files
2026-03-20 13:04:43 +02:00

13 lines
406 B
C#

namespace FlappyBird.Core
{
/// <summary>
/// Implement on any Component that is managed by the object pool.
/// </summary>
public interface IPoolable
{
/// <summary>Called by the pool just before the object is handed out.</summary>
void OnSpawn();
/// <summary>Called by the pool just after the object is returned.</summary>
void OnDespawn();
}
}