public void ApplySettings() { //Currently we only use the quality settings files for shadow quality differences //3 = 2045, 2 = 1024, 1=514, 0=Off QualitySettings.SetQualityLevel(settings.shadowQuality, true); fpsCounter.ToggleVisualFPS(settings.drawFPS); minimap.gameObject.SetActive(settings.drawMap); canvasSettings.ChangeCanvasScale(settings.canvasDPI); renderSettings.SetRenderScale(settings.renderResolution); renderSettings.ToggleReflections(settings.realtimeReflections); renderSettings.TogglePostEffects(settings.postProcessingEffects); renderSettings.ToggleAA(settings.antiAliasing); SaveSettings(); }