Version: 2020.1
C# compiler
IL2CPP

Scripting backends

Unity has two 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
: 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 Description
IL2CPPA Unity-developed scripting back-end which you can use as an alternative to Mono when building projects for some platforms. More info
See in Glossary
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
IL2CPP
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961