◆ PlaySoundByEnum()
void JSAM.AudioEvents.PlaySoundByEnum |
( |
string |
enumName | ) |
|
Takes the name of the Audio enum sound to be played as a string and plays it
- Parameters
-
enumName | Either specify the name by it's Audio File name or use the entire enum |
◆ PlaySoundByReference()
◆ SetMasterVolume()
void JSAM.AudioEvents.SetMasterVolume |
( |
float |
newVal | ) |
|
◆ SetMusicVolume()
void JSAM.AudioEvents.SetMusicVolume |
( |
float |
newVal | ) |
|
◆ SetSoundVolume()
void JSAM.AudioEvents.SetSoundVolume |
( |
float |
newVal | ) |
|
◆ StopSoundByEnum()
void JSAM.AudioEvents.StopSoundByEnum |
( |
string |
enumName | ) |
|
◆ StopSoundByEnumInstantly()
void JSAM.AudioEvents.StopSoundByEnumInstantly |
( |
string |
enumName | ) |
|
The documentation for this class was generated from the following file:
- C:/Users/jacky/Documents/Unity Projects/Simple-Unity-Audio-Manager/Assets/JSAM/Runtime/Scripts/AudioEvents.cs