private void _on_Default_button_down() { SettingsData.Default(); EmptyInputMap(); Untoggler(); RetrieveControls(); SetControls(); ApplyControls(); }
private void _on_Default_button_down() { SettingsData.Default(); Dictionary audio = SettingsData.Settings["audio"] as Dictionary; _opMenu.Visible = false; _masterVolume = (float)audio["master"]; _musicVolume = (float)audio["music"]; _monsterVolume = (float)audio["monster"]; UpdateScrollButton(); UpdateVolume(); }