private void OnSoundEffectsSliderReleaseUpdated(float volume) { // Adjust the volume OnSoundEffectsSliderValueUpdated(volume); // Play the sound effect TestSoundEffect.Play(); }
public static void TestSoundEffect() { var test = new TestSoundEffect(); test.Initialize(); test.TestLoad(); test.TestCreateInstance(); test.TestDispose(); test.TestDefaultInstance(); test.Uninitialize(); }
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(); } }
public void OnSoundEffectsSliderPointerUp() { TestSoundEffect.Play(); }