Version: Unity 6.2 Alpha (6000.2)
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 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
Special folders and script compilation order
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961