SkillAgentSearch skills...

Unity.ObjectPooling

No description available

Install / Use

/learn @grashaar/Unity.ObjectPooling
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Unity Object Pooling

Changelog

1.5.0

  • Support synchronous pooling for classes under UnityEngine.AddressableAssets.Pooling namespace (available when Addressables 1.17 or higher is installed)
  • Spawners will no longer require a pooler manager to work
  • Support custom instance destroying for some pool class, implement via IDestroyHandler interface
  • Various improvements and corrections

1.4.0

  • Upgrade Unity Supplements package to version 2.5.3
  • Change the namespace of pooling classes
  • Restructure the package

1.3.0

  • Upgrade Unity Supplements package to version 2.3.1
  • Remove IPool<T> and Pool<T> since they are existing in the Unity Supplements package
  • Add IKeyedPool<T>, IAsyncKeyedPool<T> interfaces
  • Refactor async methods of ComponentPool and GameObjectPool into AsyncComponentPool and AsyncGameObjectPool
  • Remove BehaviourPool since it is redundant
  • Pools now implement either keyed or no-keyed interface, not both
  • ActiveItems property is renamed ActiveObjects

Dependencies

Notes

  • Automatically switch to UniTask if the package is present.
  • Automatically enable Addressables-related classes if the package is present.
  • Automatically use Unity Addressables Manager if the package is present.

API

System.Collections.Pooling

UnityEngine

UnityEngine.Pooling

UnityEngine.AddressableAssets

UnityEngine.AddressableAssets.Pooling

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated1y ago
Forks4

Languages

C#

Security Score

65/100

Audited on Jun 30, 2024

No findings