Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Best way to change Quality settings in game?

Discussion in 'Scripting' started by Rob21894, Feb 2, 2016.

  1. Rob21894

    Rob21894

    Joined:
    Nov 21, 2013
    Posts:
    309
    Hey I'm currently working on changing quality settings in game

    Would the best way of approaching this be by doing

    Code (CSharp):
    1. QualitySettings.SetQualityLevel(1,true) // low
    or

    Code (CSharp):
    1. QualitySettings.IncreaseLevel(True) // next setting
    This is by using the unity built in quality settings.

    any help please?

    thanks
     
  2. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,381
    They do the same thing, its just a matter of whether you want to go up one level or set it to a specific level.
     
  3. Rob21894

    Rob21894

    Joined:
    Nov 21, 2013
    Posts:
    309
    Im trying to set a specific level Via a Dropdown and this happens


    https://gyazo.com/c592d1794c43d74e3dc8fe6d6070487d

    any idea why?