/// <summary>
    /// Saves settings to Settings.xml via the Settings class.
    /// </summary>
    public void SaveSetting()
    {
        Settings.SetSetting("DialogBoxSettings_musicVolume", musicVolume.normalizedValue);

        Settings.SetSetting("DialogBoxSettings_fullScreenToggle", fullScreenToggle.isOn);

        Settings.SetSetting("DialogBoxSettings_qualityDropdown", qualityDropdown.value);
        Settings.SetSetting("DialogBoxSettings_vSyncDropdown", vsyncDropdown.value);
        Settings.SetSetting("DialogBoxSettings_resolutionDropdown", resolutionDropdown.value);

        Settings.SetSetting("AutosaveInterval", int.Parse(autosaveInterval.text));
        Settings.SetSetting("AutosaveFiles", int.Parse(autosaveFiles.text));
        Settings.SaveSettings();

        PerformanceHUDManager.DirtyUI();
    }
 public override void CancelSetting()
 {
     base.CancelSetting();
     PerformanceHUDManager.DirtyUI();
 }
 public override void ApplySetting()
 {
     base.ApplySetting();
     Settings.SetSetting(option.key, groupNames[selectedValue]);
     PerformanceHUDManager.DirtyUI();
 }
 public override void ApplySetting()
 {
     base.ApplySetting();
     PerformanceHUDManager.DirtyUI();
 }