Version: 2020.3
自定义脚本 #define 指令
在 Unity Cloud Build 中使用可寻址资源

包含特定场景

By default, Unity Cloud Build builds the Scenes you’ve added to your project in the Unity Editor to File > Build Settings > Scenes in Build. Click Add Open Scenes to add additional Scenes. For more information, see Publishing builds.

To instruct Unity Cloud Build to ignore the Scenes in Build list in the Unity Editor and build a different list of Scenes, you need to provide a Scene List via the Unity Developer website.

On the Unity Developer website, go to the build target’s Advanced Options.

The Edit Advanced Options screen
The Edit Advanced Options screen

Add the list of Scenes you want to include to the Scene List. Provide the file path as a relative path from the Assets directory to each Scene file you wish to include.

This is useful for development. For example, you may have one build target that includes all the Scenes, but takes a long time to build. If you’re only working on one Scene, it might be helpful to use another build target that only includes that Scene. This should build much faster, and allow for quicker iteration of development versions.

自定义脚本 #define 指令
在 Unity Cloud Build 中使用可寻址资源
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961