Eazy Sound Manager API Refrence
EazySoundManager Methods |
The EazySoundManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetAudio(Int32) |
Returns the Audio that has as its id the audioID if one is found, returns null if no such Audio is found
| |
GetAudio(AudioClip) |
Returns the first occurrence of Audio that plays the given audioClip. Returns null if no such Audio is found
| |
GetMusicAudio(Int32) |
Returns the music Audio that has as its id the audioID if one is found, returns null if no such Audio is found
| |
GetMusicAudio(AudioClip) |
Returns the first occurrence of music Audio that plays the given audioClip. Returns null if no such Audio is found
| |
GetSoundAudio(Int32) |
Returns the sound fx Audio that has as its id the audioID if one is found, returns null if no such Audio is found
| |
GetSoundAudio(AudioClip) |
Returns the first occurrence of sound Audio that plays the given audioClip. Returns null if no such Audio is found
| |
GetUISoundAudio(Int32) |
Returns the UI sound fx Audio that has as its id the audioID if one is found, returns null if no such Audio is found
| |
GetUISoundAudio(AudioClip) |
Returns the first occurrence of UI sound Audio that plays the given audioClip. Returns null if no such Audio is found
| |
PauseAll |
Pause all audio playing
| |
PauseAllMusic |
Pause all music playing
| |
PauseAllSounds |
Pause all sound fx playing
| |
PauseAllUISounds |
Pause all UI sound fx playing
| |
PlayMusic(AudioClip) |
Play background music
| |
PlayMusic(AudioClip, Single) |
Play background music
| |
PlayMusic(AudioClip, Single, Boolean, Boolean) |
Play background music
| |
PlayMusic(AudioClip, Single, Boolean, Boolean, Single, Single) |
Play background music
| |
PlayMusic(AudioClip, Single, Boolean, Boolean, Single, Single, Single, Transform) |
Play background music
| |
PlaySound(AudioClip) |
Play a sound fx
| |
PlaySound(AudioClip, Boolean) |
Play a sound fx
| |
PlaySound(AudioClip, Single) |
Play a sound fx
| |
PlaySound(AudioClip, Single, Boolean, Transform) |
Play a sound fx
| |
PlayUISound(AudioClip) |
Play a UI sound fx
| |
PlayUISound(AudioClip, Single) |
Play a UI sound fx
| |
PrepareMusic(AudioClip) |
Prepares and initializes background music
| |
PrepareMusic(AudioClip, Single) |
Prepares and initializes background music
| |
PrepareMusic(AudioClip, Single, Boolean, Boolean) |
Prepares and initializes background music
| |
PrepareMusic(AudioClip, Single, Boolean, Boolean, Single, Single) |
Prerpares and initializes background music
| |
PrepareMusic(AudioClip, Single, Boolean, Boolean, Single, Single, Single, Transform) |
Prepares and initializes background music
| |
PrepareSound(AudioClip) |
Prepares and initializes a sound fx
| |
PrepareSound(AudioClip, Boolean) |
Prepares and initializes a sound fx
| |
PrepareSound(AudioClip, Single) |
Prepares and initializes a sound fx
| |
PrepareSound(AudioClip, Single, Boolean, Transform) |
Prepares and initializes a sound fx
| |
PrepareUISound(AudioClip) |
Prepares and initializes a UI sound fx
| |
PrepareUISound(AudioClip, Single) |
Prepares and initializes a UI sound fx
| |
RestoreAudioFromPool |
Restores and re-adds a pooled audio to its corresponding audio dictionary
| |
ResumeAll |
Resume all audio playing
| |
ResumeAllMusic |
Resume all music playing
| |
ResumeAllSounds |
Resume all sound fx playing
| |
ResumeAllUISounds |
Resume all UI sound fx playing
| |
StopAll |
Stop all audio playing
| |
StopAll(Single) |
Stop all audio playing
| |
StopAllMusic |
Stop all music playing
| |
StopAllMusic(Single) |
Stop all music playing
| |
StopAllSounds |
Stop all sound fx playing
| |
StopAllUISounds |
Stop all UI sound fx playing
|
See Also