Eazy Sound Manager API Refrence
EazySoundManager Class |
Static class responsible for playing and managing audio and sounds.

Namespace: Hellmade.Sound
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0

C#
public class EazySoundManager : MonoBehaviour
The EazySoundManager type exposes the following members.

Name | Description | |
---|---|---|
![]() | EazySoundManager | Initializes a new instance of the EazySoundManager class |

Name | Description | |
---|---|---|
![]() ![]() | Gameobject |
The gameobject that the sound manager is attached to
|
![]() ![]() | GlobalMusicVolume |
Global music volume
|
![]() ![]() | GlobalSoundsVolume |
Global sounds volume
|
![]() ![]() | GlobalUISoundsVolume |
Global UI sounds volume
|
![]() ![]() | GlobalVolume |
Global volume
|
![]() ![]() | IgnoreDuplicateMusic |
When set to true, new music audios that have the same audio clip as any other music audios, will be ignored
|
![]() ![]() | IgnoreDuplicateSounds |
When set to true, new sound audios that have the same audio clip as any other sound audios, will be ignored
|
![]() ![]() | IgnoreDuplicateUISounds |
When set to true, new UI sound audios that have the same audio clip as any other UI sound audios, will be ignored
|

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
|
