Version: 2018.4
IL2CPP
Compiler options

Building a project using IL2CPP

To build your project using IL2CPP, open the Build Settings window (File > Build Settings). Select the platform you are building for, then click Player SettingsSettings that let you set various player-specific options for the final game built by Unity. More info
See in Glossary
to open the Player settings in the InspectorA Unity window that displays information about the currently selected GameObject, Asset or Project Settings, allowing you to inspect and edit the values. More info
See in Glossary
.

The Build Settings window
The Build Settings window

In the Project SettingsA broad collection of settings which allow you to configure how Physics, Audio, Networking, Graphics, Input and many other areas of your Project behave. More info
See in Glossary
window, locate the Player settings for your target platform, and scroll down to the Configuration section. For Scripting BackendA 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
, select 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
.

The Configuration section of the Player settings
The Configuration section of the Player settings

With IL2CPP selected as the Scripting back end, click BuildThe process of compiling your Project into a format that is ready to run on a specific platform or platforms. More info
See in Glossary
in the Build Settings window. Unity begins the process of converting your C# code and assemblies into C++ before producing a binary file for your target platform.

IL2CPP
Compiler options
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961