public void SaveConfigValues() { ConfigWriter configWriter = new ConfigWriter(SETTINGS_FILE_NAME); configWriter.SetInt(RESOLUTION_VALUE, resolutionIndexSave); configWriter.SetInt(QUALITY_VALUE, qualityIndexSave); configWriter.SetString(FULLSCREEN_VALUE, isFullscreenSave ? TRUE_VALUE : FALSE_VALUE); configWriter.SetFloat(MUSIC_VOLUME_VALUE, masterVolumeSave); configWriter.SetFloat(SFX_VOLUME_VALUE, gameSfxSave); }