Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.