Version: Unity 6.0 (6000.0)
Language : English
Compilation and code reload
Scripting back ends

Script compilation

This section contains information on how Unity compiles your scriptsA piece of code that allows you to create your own Components, trigger game events, modify Component properties over time and respond to user input in any way you like. More info
See in Glossary
and in what order.

Topic Description
Scripting back ends Understand the different options Unity provides for compiling and running your scripts, and how each affects your project.
Conditional compilation Use and define preprocessor directives to selectively include or exclude sections of your code for compilation.
Assembly definitions Information about assembly definitions, which you can use to organize the scripts in your project.
Managed code stripping Understand and configure managed code stripping, which removes unused code from a build and helps decrease the final build size of your application.

Additional resources

  • C# compiler
  • Scripting backendsA framework that powers scripting in Unity. Unity supports three different scripting backends depending on target platform: Mono, .NET and IL2CPP. Universal Windows Platform, however, supports only two: .NET and IL2CPP. More info
    See in Glossary
Compilation and code reload
Scripting back ends