This version of Unity is unsupported.

QualitySettings.GetActiveQualityLevelsForPlatformCount

Switch to Manual

Declaration

public static int GetActiveQualityLevelsForPlatformCount(string buildTargetGroupName);

Parameters

buildTargetGroupName The platform to obtain the number of selected Quality Levels.

Returns

int The total amount of Quality Levels active for the given platform.

Description

[Editor Only] Obtains the number of Quality Levels that are selected for a given platform.