|
static bool | IsDestroyed () |
|
static void | SetVolume (float _volumePercent, Channel _channel) |
| Set volume of the selected channel. More...
|
|
static void | AddAudioSourceInstance (AudioSourceAutoAdjustVolume _audioSource) |
|
static void | RemoveAudioSourceInstance (AudioSourceAutoAdjustVolume _audioSource) |
|
static void | PlayBGM (AudioClip _clip, bool _restart=true, float _fadeDuration=-1, float _volumeMultiplier=1f) |
| Play music with given crossfade duration. More...
|
|
static void | PlayBGM (string _id, bool _restart=true, float _fadeDuration=-1, float _volumeMultiplier=1f) |
| Play music with given sound name/ID in SoundLibrary. More...
|
|
static AudioClip | GetActiveBGM () |
| Return AudioClip of the currently/lastly played music. More...
|
|
static void | StopBGM (float _fadeDuration=-1) |
| Stop current music with given crossfade duration. More...
|
|
static void | ResumeBGM (float _fadeDuration=-1) |
| Resume the previously stopped BGM. More...
|
|
static void | PlayAmbience (AudioClip _clip, bool _restart=true, float _fadeDuration=-1, float _volumeMultiplier=1f) |
| Play ambience with given crossfade duration. More...
|
|
static void | PlayAmbience (string _id, bool _restart=true, float _fadeDuration=-1, float _volumeMultiplier=1f) |
| Play ambience with given sound name/ID in SoundLibrary. More...
|
|
static AudioClip | GetActiveAmbience () |
| Return AudioClip of the currently/lastly played ambience. More...
|
|
static void | StopAmbience (float _fadeDuration=-1) |
| Stop current ambience with given crossfade duration. More...
|
|
static void | ResumeAmbience (float _fadeDuration=-1) |
| Resume the previously stopped ambience with given crossfade duration. More...
|
|
static AudioSource | PlaySoundAtPosition (AudioClip _clip, Vector3 _position, float _volume=-1, System.Action _onComplete=null) |
| Play 3D sound on the given position. More...
|
|
static AudioSource | PlaySound2D (AudioClip _clip, float _volume=-1, System.Action _onComplete=null) |
| Play 2D sound, ignoring the position of sound's source. More...
|
|
static void | PlaySFXAtPosition (string _id, Vector3 _position, System.Action _onComplete=null, float _volumeMultiplier=1f) |
| Play sound effect with given name/ID in SoundLibrary on the given position. More...
|
|
static void | PlaySFX2D (string _id, System.Action _onComplete=null, float _volumeMultiplier=1f) |
| Play 2D sound effect with given name/ID in SoundLibrary, ignoring the position of sound's source. More...
|
|
static void | PlayMEAtPosition (string _id, Vector3 _position, System.Action _onComplete=null, float _volumeMultiplier=1f) |
| Play music effect with given name/ID in SoundLibrary on the given position. More...
|
|
static void | PlayME2D (string _id, System.Action _onComplete=null, float _volumeMultiplier=1f) |
| Play 2D music effect with given name/ID in SoundLibrary, ignoring the position of sound's source. More...
|
|