/// <summary>Sets the volume for this group (same as setting <see cref="volume"/> directly)</summary>
 public void SetVolume(float volume)
 {
     fooVolume = volume;
     DeAudioNotificator.DispatchDeAudioEvent(DeAudioEventType.GroupVolumeChange, this);
 }
Example #2
0
 /// <summary>Sets the global volume (same as setting <see cref="globalVolume"/> directly</summary>
 public static void SetVolume(float volume)
 {
     I.fooGlobalVolume = volume;
     DeAudioNotificator.DispatchDeAudioEvent(DeAudioEventType.GlobalVolumeChange);
 }