Version: 2019.2

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