Version: 2022.3

QualitySettings.IsPlatformIncluded

切换到手册
public static bool IsPlatformIncluded (string buildTargetGroupName, int index);

参数

buildTargetGroupName The platform name.
index The index of the Quality Level, must be positive and lower than the count of Quality Levels.

返回

bool If the platform is included.

描述

[Editor Only] Returns if the given platform is included by the Quality Level.