SerialisableGenericComponentPoolTAcquire Method (Vector3, Quaternion) |
[This is preliminary documentation and is subject to change.]
Acquires an instance of the component, and sets the position and rotation 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 public T Acquire(
Vector3 position,
Quaternion rotation
)
Parameters
- position
- Type: UnityEngineVector3
The position to set the component's transform to. - rotation
- Type: UnityEngineQuaternion
The rotation to set the components's transform to.
Return Value
Type:
TAn instance of the component,
T.
See Also