- Home /
Does Quality Level remain between scenes?
Hello,
This might be a very simple and a very stupid question: Does the Quality Setting remain between scenes, if I change it through an options menu in the beginning of the game?
if(GUI.Button(Rect (10,75,100,20),"Low"))
{
QualitySettings.currentLevel = QualityLevel.Fastest;
}
if(GUI.Button(Rect (150,75,100,20),"Medium"))
{
QualitySettings.currentLevel = QualityLevel.Good;
}
if(GUI.Button(Rect (290,75,100,20),"Highest"))
{
QualitySettings.currentLevel = QualityLevel.Fantastic;
}
I couldn't find this anywhere. Does the setting I choose remain through all scenes, or do I have to set it as a static variable or something?
And a little extra question when talking about static variables : Do you know any good tutorials about them? Or any existing questions here where I could get a little info of 'em?
Thanks in advance!
Answer by Meltdown · Jul 22, 2011 at 07:46 AM
As far as I know, quality settings are project specific, so if the defaults are loaded, or they are set on startup of the executable, they will be persisted through the scenes, until the quality settings are changed again.
It really doesn't make any sense for them be scene 'specific'. Although you could implement this if you so wished.
Okay, thanks for your effort answering this noobie question! :D
Your answer
![](https://koobas.hobune.stream/wayback/20220612152901im_/https://answers.unity.com/themes/thub/images/avi.jpg)