Version: 2020.3
Xcode framework
包含特定场景

自定义脚本 #define 指令

Using Unity Cloud Build, you can create custom scripting #define directives. On the Unity Developer website, go to the build target’s Advanced Options.

The Edit Advanced Options screen
The Edit Advanced Options screen

In the Scripting Define Symbols field, you can add your own custom scripting #define directives to the built-in selection available. For each build target, enter the names of the symbols you want to define. You can then use these symbols as the conditions in #if directives, just like the built-in symbols. For more information, see [#define directives](https://docs.unity.cn/Manual/PlatformDependentCompilation.html?_ga=2.140584053.690056806.1634230315–349158170.1626113345)

For more information, see Platform-dependent compilation.

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