Click or drag to resize

GameObjectPoolAcquire Method (Transform, Boolean)

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

Acquires an instance of the source object, and sets its parent transform.

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 GameObject Acquire(
	Transform parent,
	bool spawnInWorldSpace
)

Parameters

parent
Type: UnityEngineTransform
The transform to which the instance should be parented.
spawnInWorldSpace
Type: SystemBoolean
if the original world position should be maintained when assigning the parent; otherwise, .

Return Value

Type: GameObject
An instance of the source object, Source.
See Also