Exemple #1
0
 /// <summary>
 /// Initializes the Sound class.
 /// </summary>
 static Music()
 {
     _audioPlayer = new AudioPlayer("MusicContainer");
     _audioPlayer.SetMute(Stash.Get(STASH_KEY_MUTE, false));
 }
Exemple #2
0
 /// <summary>
 /// Initializes the Sound class.
 /// </summary>
 static Sound()
 {
     _audioPlayer = new AudioPlayer("SoundContainer");
     _audioPlayer.SetMute(Stash.Get(STASH_KEY_MUTE, false));
 }