Beispiel #1
0
 void OnMusicVolumeChanged(float newVolume)
 {
     MusicVolumeChanged.Invoke(newVolume);
 }
Beispiel #2
0
 /// <summary>
 ///     Raises the <see cref="MusicVolumeChanged" /> event.
 /// </summary>
 /// <param name="e">The <see cref="SoundMusicVolumeChangedEventArgs" /> instance containing the event data.</param>
 protected virtual void OnMusicVolumeChanged(SoundMusicVolumeChangedEventArgs e)
 {
     MusicVolumeChanged?.Invoke(this, e);
 }