NamedGameObjectPoolManagerTryGetPool Method |
[This is preliminary documentation and is subject to change.]
Gets the pool that handles instances of the source object with the specified name.
Namespace:
Umbrace.Unity.PurePool
Assembly:
Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax public bool TryGetPool(
string sourceObject,
out GameObjectPool pool
)
Parameters
- sourceObject
- Type: SystemString
The name of the game object to retrieve the pool for. - pool
- Type: Umbrace.Unity.PurePoolGameObjectPool
When this method returns, contains the pool that handles the specified game object, if one is found; otherwise, . This parameter is passed uninitialised.
Return Value
Type:
Boolean if the manager contains a pool that handles the specified game object; otherwise,
.
See Also