defaultQualityLevel
The name of the quality level that the build uses at startup.
Read time 1 minuteLast updated 17 hours ago
Definition
- Type: Property
- Namespace: UnityEditor.Build.Profile
- Assembly: UnityEditor.CoreModule
public string defaultQualityLevel { get; set; }
Remarks
The name must be one of the names in BuildProfileQualitySettings.qualityLevels. If is set to an array that doesn't contain this quality level, Unity sets this property to the first quality level in the array.
qualityLevelsIf you set this property to , Unity throws an . If you set it to a name that isn't in , Unity throws an .
nullArgumentNullExceptionqualityLevelsArgumentException