Build Configuration
From ReflexCLI
By default, almost all console functionality will be compile-time excluded from release builds (i.e. it is only available in Editor and Development Builds). Some non-functional code stubs will exist in release builds to ensure your game code can compile in release without changes.
Enabling ReflexCLI in release builds
If you would like to ship the game with a console then you can add the REFLEXCLI_RELEASE
define to you project, with the following steps:
- Open Player Settings (Edit/Project Settings/Player).
- Expand "Other Settings".
- Add
REFLEXCLI_RELEASE
to the field titled "Scripting Define Symbols".
Note that most of the provided commands will be disabled in release builds, to prevent debug functionality reaching players. You can therefore control more precisely what commands players have access to. See individual command definitions for details.