ScriptReference/QualitySettings #224
Replies: 1 comment
-
|
To access the other quality settings as well as what the per platform defaults are you can't use the static properties and methods, instead you must load the QualitySettings Unity object via the AssetDatabase then work with it via SerializedObject or Reflection. See QualitySettingsEditor for reference on how the Unity Editor deals with these properties. QualitySettings qualitySettings = AssetDatabase.LoadAssetAtPath<QualitySettings>("ProjectSettings/QualitySettings.asset");
SerializedObject serializedObject = new SerializedObject(qualitySettings); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ScriptReference/QualitySettings
https://docs.unity3d.com/ScriptReference/QualitySettings.html
Beta Was this translation helpful? Give feedback.
All reactions