Documentation

Unity Engine


Unity Engine


defaultQualityLevel

The name of the quality level that the build uses at startup.
Read time 1 minuteLast updated 17 hours ago

Definition

public string defaultQualityLevel { get; set; }

Remarks

The name must be one of the names in BuildProfileQualitySettings.qualityLevels. If
qualityLevels
is set to an array that doesn't contain this quality level, Unity sets this property to the first quality level in the array.
If you set this property to
null
, Unity throws an
ArgumentNullException
. If you set it to a name that isn't in
qualityLevels
, Unity throws an
ArgumentException
.