Version: 2019.1 (switch to 2019.2b or 2018.4)
Xcode frameworks
Including specific Scenes
Other Versions

Custom scripting #define directives

Using Unity Cloud BuildSee Cloud Build More info
See in Glossary
, you can create custom scripting #define directives. On the Unity Developer website, go to the build target’s Advanced Options. (See documentation on accessing and editing 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 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 ones.

For more information, see documentation on Platform-dependent compilation.

Did you find this page useful? Please give it a rating:

Xcode frameworks
Including specific Scenes