Click or drag to resize

SerialisableGameObjectPool Constructor

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

Initialises a new instance of the SerialisableGameObjectPool class.

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 SerialisableGameObjectPool(
	GameObject sourceObject,
	Transform parent
)

Parameters

sourceObject
Type: UnityEngineGameObject
The object to be pooled.
parent
Type: UnityEngineTransform
The parent transform to which all pooled GameObject objects will be parented in the hierarchy.
See Also