Click or drag to resize

NamedGameObjectPoolManagerGetPool Method

[This is preliminary documentation and is subject to change.]

Gets the pool that handles instances of the source object with the specified name. The manager must contain a matching pool to use this method.

Namespace:  Umbrace.Unity.PurePool
Assembly:  Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public GameObjectPool GetPool(
	string sourceObject
)

Parameters

sourceObject
Type: SystemString
The name of the game object to retrieve the pool for.

Return Value

Type: GameObjectPool
A GameObjectPool that handles instances of sourceObject.
See Also