Version: Unity 6 (6000.0)
Language : English
Compilation and code reload
Special folders and script compilation order

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
Special folders Information about the reserved folder names in Unity, which have an effect on the order of script compilation.
Conditional compilation Using and defining 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.

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
Special folders and script compilation order