SunsetHigh.SoundModifierEntry.onPress C# (CSharp) Method

onPress() public method

public onPress ( ) : void
return void
        public override void onPress()
        {
            if (inputType == MUSIC_CONFIG)
            {
                BGMusic.setPaused(!BGMusic.isPaused());
            }
            else if (inputType == SOUNDFX_CONFIG)
            {
                SoundFX.setMuted(!SoundFX.isMuted());
            }
            updateStatus();
        }