StrippingLevel Enumeration

Managed code stripping level

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

Values
Disabled

Managed code stripping is disabled

StripAssemblies

Unused parts of managed code are stripped away

StripByteCode

Managed method bodies are stripped away. AOT platforms only.

UseMicroMSCorlib

Lightweight mscorlib version will be used at expense of limited compatibility.