- Home /
Is there a way to get the default quality setting?
On my settings window, I'd like a "reset to defaults" feature, but I can't find any property in the QualitySettings class that tells me what the default quality level for that platform is.
Answer by Guandor · Jul 21, 2015 at 07:32 PM
I think what you are looking for is http://docs.unity3d.com/ScriptReference/QualitySettings.GetQualityLevel.html
Edit: You can save it on initialization and use it later.
No, that retrieves the current quality level. What I'm looking for is the default quality level.
Then, you can save the current quality level at the initialization of the game?
I gotcha, I guess I didn't realize that was always initialized to the default platform setting. Simple enough, thanks.
I don't like this solution, it's like a workaround, what if on initialization it doesn't use default Quality level: it does not officially say in the document that Unity will initialize to default quality level, which mean in the future, Unity can update and make it initialize to the saved quality level.
Your answer
Follow this Question
Related Questions
QualitySettings.masterTextureLimit Causes Huge Amount of lag 1 Answer
Changing quality setting on all scenes 1 Answer
Game objects should change according to graphic quality 1 Answer
Reset Current Quality Settings very early - to have a fallback from too high settings on Android? 0 Answers
What are pixel-light sources? 0 Answers