Parameters

The platform build target group whose stripping level you want to set.

ManagedStrippingLevel

The 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.