Skip to content

grashaar/Unity.ObjectPooling

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Packages

No packages published

Languages