Click or drag to resize

PoolManagerBaseTManagerSettings, TPool, TPoolSettings, TSource, TInstanceCanAcquire Method

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

Determines whether an instance of sourceObject can be acquired from its pool.

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 bool CanAcquire(
	TSource sourceObject
)

Parameters

sourceObject
Type: TSource
The game object to check.

Return Value

Type: Boolean
if an instance of sourceObject can be acquired from its pool; otherwise, .
Remarks
An instance can be acquired when its pool contains at least one instance, or when InstantiateWhenEmpty is .
See Also