Version: 2021.3

PlayerSettings.GetApiCompatibilityLevel

切换到手册
public static ApiCompatibilityLevel GetApiCompatibilityLevel (Build.NamedBuildTarget buildTarget);

参数

buildTarget The NamedBuildTarget.

返回

ApiCompatibilityLevel Returns the ApiCompatibilityLevel associated with a NamedBuildTarget.

描述

Gets .NET API compatibility level for specified build target.


public static ApiCompatibilityLevel GetApiCompatibilityLevel (BuildTargetGroup buildTargetGroup);

描述

BuildTargetGroup is marked for deprecation in the future. Use NamedBuildTarget instead.