Cycling through visual quality levels.
Hi there, I'm working on my first game and am working on my settings menu. I was wondering how I could cycle through the quality levels. I know about QualitySettings.SetQualityLevel (X, true);
But how could I do something like
if (Input.GetKeyDown(KeyCode.Return))
{
// Increase game quality by 1, if at 5, go back to 1
}
Comment