Is there a pragmatical way to get properties of QualitySettings of a specific quality level?


I’ll try to explain the problem using the specific use case of Vsync. I have different quality levels defined in my project:

  • Low (VSyncCount = Dont Sync)
  • Medium (VSyncCount = Every V Blank)
  • High (VSyncCount = Every V Blank)

I would like to provide the user with an interface that allows them to change the quality level and VSyncCount individually. I would like the user to be able to reset all properties (e.g. VsyncCount) to the default values of a certain level (e.g. High) and at the same time modify them individually if required.

Do I really have to maintain the properties redundantly in scriptable objects or is there any other way?