Example #1
0
        static MyGuiAudio()
        {
            Static = new MyGuiAudio();

            foreach (MyGuiSounds sound in Enum.GetValues(typeof(MyGuiSounds)))
                m_sounds.Add(sound, new MySoundPair(sound.ToString()));
        }
Example #2
0
        static MyGuiAudio()
        {
            Static = new MyGuiAudio();

            foreach (MyGuiSounds sound in Enum.GetValues(typeof(MyGuiSounds)))
            {
                m_sounds.Add(sound, new MySoundPair(sound.ToString()));
            }
        }