ドキュメント

Unity Engine

Unity Engine

SetManagedStrippingLevel

Sets the managed code stripping level for specified build target.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

SetManagedStrippingLevel(BuildTargetGroup, ManagedStrippingLevel)

Sets the managed code stripping level for specified build target.
注意
Deprecated. Use SetManagedStrippingLevel(NamedBuildTarget buildTarget, ManagedStrippingLevel level) instead
public static void SetManagedStrippingLevel(BuildTargetGroup targetGroup, ManagedStrippingLevel level)

Parameters

targetGroup


The desired managed code stripping level.

Remarks

During the build process, Unity strips unused code from your project's managed and dynamically linked libraries. Stripping code results in a much smaller executable but can remove code you'd like to use.
The ManagedStrippingLevel Enum defines the options you can use to specify the rate at which Unity should remove unused code or to disable code stripping altogether.
BuildTargetGroup is marked for deprecation in the future. Use NamedBuildTarget instead.

SetManagedStrippingLevel(NamedBuildTarget, ManagedStrippingLevel)

Sets the managed code stripping level for specified build target.
public static void SetManagedStrippingLevel(NamedBuildTarget buildTarget, ManagedStrippingLevel level)

Parameters


The desired managed code stripping level.

Remarks

During the build process, Unity strips unused code from your project's managed and dynamically linked libraries. Stripping code results in a much smaller executable but can remove code you'd like to use.
The ManagedStrippingLevel Enum defines the options you can use to specify the rate at which Unity should remove unused code or to disable code stripping altogether.
BuildTargetGroup is marked for deprecation in the future. Use NamedBuildTarget instead.