Click or drag to resize

PoolableAudioSource Class

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

A component that allows pooling of multiple associated AudioSource components.
Inheritance Hierarchy
SystemObject
  UnityEngineObject
    UnityEngineComponent
      UnityEngineBehaviour
        UnityEngineMonoBehaviour
          Umbrace.Unity.PurePoolPoolableAudioSource

Namespace:  Umbrace.Unity.PurePool
Assembly:  Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
[RequireComponent(typeof(AudioSource))]
public class PoolableAudioSource : MonoBehaviour, 
	IPoolable, IEventSystemHandler

The PoolableAudioSource type exposes the following members.

Constructors
  NameDescription
Public methodPoolableAudioSource
Initializes a new instance of the PoolableAudioSource class
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldPlayOnAcquire
A value indicating whether the audio sources will automatically start playing when the instance is acquired from the pool.
Top
See Also