Click or drag to resize

PoolableAudioSourcePlayOnAcquire Field

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

A value indicating whether the audio sources will automatically start playing when the instance is acquired from the 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 PlayOnAcquire

Field Value

Type: Boolean
Remarks
Setting this property to will automatically call Play on the audio sources attached to this GameObject. This provides the same behaviour as playOnAwake, but for use with pooling.
See Also