Sound pool. Allows on-demand playing of 3D sounds, with sound properties based on prefab.
More...
Inherits MonoBehaviour.
|
static AudioSource | Play (string clipId, float volume=1f, float pitch=1f) |
|
static AudioSource | Play (AudioClip clip, float volume=1f, float pitch=1f) |
|
static AudioSource | Play (string clipId, Vector3 position, float volume=1f, float pitch=1f) |
|
static AudioSource | Play (AudioClip clip, Vector3 position, float volume=1f, float pitch=1f) |
|
static AudioSource | Play (string clipId, Component target, float volume=1f, float pitch=1f) |
|
static AudioSource | Play (AudioClip clip, Component target, float volume=1f, float pitch=1f) |
|
static AudioSource | Play (string clipId, GameObject target, float volume=1f, float pitch=1f) |
|
static AudioSource | Play (AudioClip clip, GameObject target, float volume=1f, float pitch=1f) |
|
Sound pool. Allows on-demand playing of 3D sounds, with sound properties based on prefab.
Definition at line 11 of file SoundPool.cs.
The documentation for this class was generated from the following file:
- C:/Users/Dan/Documents/Doomsday/Liberi/Assets/Scripts/Core/SoundPool.cs