IObjectPoolSetSize Method |
[This is preliminary documentation and is subject to change.]
Sets the number of objects contained by the pool, either destroying excess pooled objects, or instantiating new ones.
Namespace:
Umbrace.Unity.PurePool
Assembly:
Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax void SetSize(
int poolSize
)
Parameters
- poolSize
- Type: SystemInt32
The target number of objects the pool should contain.
See Also