Scripting back ends
Understand the different options Unity provides for compiling and running your scripts, and how each affects your project.
阅读时间1 分钟最后更新于 18 天前
In Unity, the scripting back end is the runtime technology that compiles and executes your C# scripts. It determines how your code is turned into executable instructions and what runtime manages it on target platforms.
Topic | Description |
|---|---|
| Introduction to scripting back ends | Understand the available scripting backends and their effects on your project. |
| IL2CPP scripting back end | IL2CPP is Unity's ahead-of-time (AOT) pipeline that converts C# intermediate language (IL) to C++, then compiles to native code. It's required on platforms that don't support JIT compilation. |
| CoreCLR scripting back end | CoreCLR is the leading, modern .NET runtime from the .NET Foundation, which provides a managed environment for the just-in-time (JIT) compilation of your C# code. |