Click or drag to resize

ComponentPoolTryAcquire Method (Component)

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

Acquires an instance of the component.

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 override bool TryAcquire(
	out Component instance
)

Parameters

instance
Type: UnityEngineComponent
When this method returns, contains the instance of the component, if one could be acquired; otherwise, . This parameter is passed uninitialised.

Return Value

Type: Boolean
if an instance of the component was acquired from the pool; otherwise, .

Implements

IObjectPoolTTryAcquire(T)
See Also