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