Interface for ObjectPools.
Additional resources: ObjectPool<T0>, LinkedPool<T0>.
Property | Description |
---|---|
CountInactive | The total amount of items currently in the pool. |
Method | Description |
---|---|
Clear | Removes all pooled items. If the pool contains a destroy callback then it will be called for each item that is in the pool. |
Get | Get an instance from the pool. If the pool is empty then a new instance will be created. |
Release | Returns the instance back to the pool. |