PoolManagerBaseTManagerSettings, TPool, TPoolSettings, TSource, TInstanceGetPooledCount Method |
[This is preliminary documentation and is subject to change.]
Gets the number of instances of the specified object contained in the pool.
Namespace:
Umbrace.Unity.PurePool
Assembly:
Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax public int GetPooledCount(
TSource sourceObject
)
Parameters
- sourceObject
- Type: TSource
The game object to check.
Return Value
Type:
Int32The number of instances of the specified object contained in the pool.
See Also