Click or drag to resize

GameObjectPoolOnObjectAcquired Method

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

Raises the ObjectAcquired event.

Namespace:  Umbrace.Unity.PurePool
Assembly:  Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
protected override void OnObjectAcquired(
	GameObject instance,
	bool instantiated
)

Parameters

instance
Type: UnityEngineGameObject
The instance of the source object that was acquired from the pool.
instantiated
Type: SystemBoolean
A value indicating whether the acquired object was instantiated specifically for this acquisition, rather than being taken from the pool.
See Also