Click or drag to resize

ComponentPoolAcquire Method (Transform)

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

Acquires an instance of the component, and sets the parent transform of its GameObject.

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 Component Acquire(
	Transform parent
)

Parameters

parent
Type: UnityEngineTransform
The transform to which the component's GameObject should be parented.

Return Value

Type: Component
An instance of the component from the pool.
See Also