示例#1
0
        private void OnSoundEffectsSliderReleaseUpdated(float volume)
        {
            // Adjust the volume
            OnSoundEffectsSliderValueUpdated(volume);

            // Play the sound effect
            TestSoundEffect.Play();
        }
示例#2
0
 public static void TestSoundEffect()
 {
     var test = new TestSoundEffect();
     test.Initialize();
     test.TestLoad();
     test.TestCreateInstance();
     test.TestDispose();
     test.TestDefaultInstance();
     test.Uninitialize();
 }
示例#3
0
        public static void TestSoundEffect()
        {
            var test = new TestSoundEffect();

            test.Initialize();
            test.TestLoad();
            test.TestCreateInstance();
            test.TestDispose();
            test.TestDefaultInstance();
            test.Uninitialize();
        }
示例#4
0
        private void OnSoundEffectsCheckboxUpdated(bool enableMute)
        {
            // Adjust mute setting
            SoundEffect.GlobalMute = enableMute;

            // Check if we're unmuted
            if (enableMute == false)
            {
                // Play the sound effect
                TestSoundEffect.Play();
            }
        }
示例#5
0
 public void OnSoundEffectsSliderPointerUp()
 {
     TestSoundEffect.Play();
 }