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