PoolableObject.DeactivateAllPoolableObjectsOfMyKind Method

Audio Toolkit

Collapse image Expand Image Copy image CopyHover image
Moves all poolable objects of this kind (instantiated from the same prefab as this instance) back to the pool.

Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.0.0.0 (8.0.0.0)

Syntax

C#
public int DeactivateAllPoolableObjectsOfMyKind()

Return Value

Type: Int32
The number of instances deactivated and moved back to its pool.

See Also