Build Configuration

From ReflexCLI
Revision as of 15:28, 30 August 2017 by Rtm223 (talk | contribs) (Created page with "Category:Setup 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)....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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:

  1. Open Player Settings (Edit/Project Settings/Player).
  2. Expand "Other Settings".
  3. Add REFLEXCLI_RELEASE to the field titled "Scripting Define Symbols".

Note that most of the default commands will be disabled in release builds. See individual command definitions for details.