Version: 2022.2

PlayerSettings.GetManagedStrippingLevel

切换到手册
public static ManagedStrippingLevel GetManagedStrippingLevel (Build.NamedBuildTarget buildTarget);

参数

buildTarget The NamedBuildTarget.

返回

ManagedStrippingLevel Returns the default ManagedStrippingLevel for the build target you select.

描述

Gets the managed code stripping level set for the build target you select


public static ManagedStrippingLevel GetManagedStrippingLevel (BuildTargetGroup targetGroup);

参数

targetGroup 要检索其代码剥离级别的目标平台组。

描述

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