Click or drag to resize

GameObjectPoolManagerCreatePool Method (GameObject)

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

Creates a GameObjectPool that pools instances of sourceObject, and attaches it to the manager. The pool is created on a child object of the manager's game object.

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 CreatePool(
	GameObject sourceObject
)

Parameters

sourceObject
Type: UnityEngineGameObject
The GameObject to be pooled.

Return Value

Type: GameObjectPool
The newly-created GameObjectPool.
See Also