public void SwitchEcoMode()
        {
            GraphicsSettingData.CopyPersonalGraphicsConfig(!this._modifiedPersonalSetting.IsEcoMode, ref this._modifiedPersonalSetting);
            GraphicsSettingData.SavePersonalConfigIgnoreContrast(this._modifiedPersonalSetting);
            this.ResetView();
            string textID = !this._modifiedPersonalSetting.IsEcoMode ? "Menu_SettingEcoModeOffTip" : "Menu_SettingEcoModeOnTip";

            Singleton <MainUIManager> .Instance.ShowDialog(new GeneralHintDialogContext(LocalizationGeneralLogic.GetText(textID, new object[0]), 2f), UIType.Any);
        }
 public void OnSaveBtnClick()
 {
     GraphicsSettingData.SavePersonalConfigIgnoreContrast(this._modifiedPersonalSetting);
     Singleton <MainUIManager> .Instance.ShowDialog(new GeneralHintDialogContext(LocalizationGeneralLogic.GetText("Menu_SettingSaveSuccess", new object[0]), 2f), UIType.Any);
 }