NamedGameObjectPoolManagerGetPooledCount Method |
[This is preliminary documentation and is subject to change.]
Gets the number of instances of the object with the specified name 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(
string sourceObject
)
Parameters
- sourceObject
- Type: SystemString
The name of the game object to check.
Return Value
Type:
Int32The number of instances of the specified object contained in the pool.
See Also