PoolableObject Methods

Audio Toolkit

Collapse image Expand Image Copy image CopyHover image

The PoolableObject type exposes the following members.

Methods

  Name Description
Public method DeactivateAllPoolableObjectsOfMyKind
Moves all poolable objects of this kind (instantiated from the same prefab as this instance) back to the pool.
Public method GetAllPoolableObjectsOfMyKind
Retrieves an array of all poolable objects of this kind (instantiated from the same prefab as this instance).
Public method GetSerialNumber
Gets the object's pool serial number. Each object has a unique serial number. Can be useful for debugging purposes.
Public method GetUsageCount
Gets the usage counter which gets increased each time an object is re-used from the pool.
Public method IsDeactivated
Checks if the object is deactivated and in the pool.

See Also