Table of Contents

Interface IPoolable

Namespace
Framework.Patterns.Pure.Pool
Assembly
Assembly-CSharp.dll

Pool 대상 오브젝트 콜백 계약. ObjectPool 내부에서 자동 호출 — 외부 직접 호출 금지. ITickable 구현 시 OnGet에서 Register, OnRelease에서 Unregister 수행.

public interface IPoolable

Methods

OnGet()

풀에서 꺼낼 때 호출. 오브젝트 활성화 및 초기화.

void OnGet()

OnRelease()

풀에 반환할 때 호출. 오브젝트 비활성화 및 정리.

void OnRelease()