Skip to content

[FEATURE] Pool Container #33

@mackysoft

Description

@mackysoft

Implementing a static container that contains the pool allows the pool to be shared.
Must add the T Original { get; } property to the IUnityObjectPool<T>.

IPool<ParticleSystem> pool = ParticleSystemPoolContainer.Instance.GetPool(m_Original);
ParticleSystem ps = pool.Rent();

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions