Version: 2022.3

QualitySettings.GetActiveQualityLevelsForPlatformCount

切换到手册
public static int GetActiveQualityLevelsForPlatformCount (string buildTargetGroupName);

参数

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

返回

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

描述

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