Version: 2020.2
C# compiler

Scripting backends

Unity has two scripting backends: Mono and IL2CPP (Intermediate Language To C++), each of which uses a different compilation technique:

  • Mono uses just-in-time (JIT) compilation and compiles code on demand at runtime.
  • IL2CPP uses ahead-of-time (AOT) compilation and compiles your entire application before it is run.

This section contains further information about these backends:

Page Descripción
IL2CPP Information about the IL2CPP back end.
Scripting restrictions This section contains information on what scripting restrictions apply to each platform you want to build your application for, to support cross-platform code.
Managed code stripping Information about managed code stripping, which removes unused code from a build. This helps decrease the final build size of your application.
C# compiler
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。