Parameters

BuildTargetGroupThe platform build target group whose stripping level you want to set.
ManagedStrippingLevelThe desired managed code stripping level.

Description

Sets the managed code stripping level for specified BuildTargetGroup.

When Unity builds your game or application it can strip unused code from the managed dynamically linked libraries used in the project. Stripping code can make the resulting executable significantly smaller, but can sometimes mistakenly remove code that is actually used. The ManagedStrippingLevel Enum defines the options you can use when specifying how aggressively Unity should remove unused code or to disable code stripping altogether.

See Also: GetManagedStrippingLevel, Managed bytecode stripping with IL2CPP

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961