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

Question Quality Settings - Level generate API?

Discussion in 'Editor & General Support' started by GamerTobbe, Aug 17, 2023.

  1. GamerTobbe

    GamerTobbe

    Joined:
    Apr 4, 2019
    Posts:
    22
    I cannot find any API where I can create and set default values for my quality levels with script. The reason why i need to generate this is because we do several new projects every week and we currently making a "Auto Setup" for new projects. Do anyone have any insight of how to get in touch with this area?

    Thanks, Tobias!
     

    Attached Files:

  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    3,899
  3. GamerTobbe

    GamerTobbe

    Joined:
    Apr 4, 2019
    Posts:
    22
    yea runtime, but we need to add new levels to the editor via script. Set default levels for different platform and make adjustment to remove the build-in ones. We can't find any API for it atm
     
  4. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    3,899
    In that case it should be possible to copy the quality settings assets from one project to another, provided the render pipeline is the same. The settings files should be ordinary yaml so they could be modified manually too. Look in the ProjectSettings folder. If I remember correctly all quality settings for all quality levels are in a single file.