Building the Unity application from the command line
Part of the process when working with Unity is to build the application from a project. This runtime application is where the simulation is run. To set up a distributed simulator using this application, please refer to the following pages:
An Editor script is included in the Vortex Studio integration package for Unity. It provides straightforward and useful methods for building the Unity application from the Unity project using the integration. These can be called from the command line using the Unity Editor -executeMethod argument.
Vortex.BuildScript.PerformBuild: Builds the application that is meant to be packaged and released.
Vortex.ScriptBuild.PerformBuildDev: Builds a development application for debugging and profiling.
Equivalent to checking the Development Build and Script Debugging checkboxes in the Build Settings window of the Unity Editor.
Vortex.BuildScript.PerformBuildDevAndWaitForDebugger: Builds a development application for debugging and profiling, but when it launches, it will wait for the developer to attach a debugger to the application. This is useful for debugging the earliest steps in the process, as soon as the application is running.
Equivalent to checking the Development Build, Script Debugging, and Wait for Managed Debugger checkboxes in the Build Settings window of the Unity Editor.
Note that when calling these methods, only the scenes that are currently enabled in the Scenes In Build list of the Unity Editor Build Settings will be included in the build. Any unchecked scenes will be excluded.