Setup
In depth learning on Project and Environment Setup can be found in this course in Motive Academy.
Manages configuration and startup of the app. The components specified after App Setup can be dragged into one of Pre Init, Init, or Startup Components to use.
App Setup
Sets the App Config and manages the startup sequence.
Name | Description |
---|---|
App Config | Sets the App Config used to communicate with the Motive Service Cloud. (See App Configs.) |
Pre Init Components | Components to run before the initialization phase. Pre-init components can be used to override properties used during the initialization phase, such as the App Config. |
Init Components | Components to run during the initialization phase. |
Startup Components | Components to run during the startup phase. |
App Initializer
General-purpose initializer that sets up the core pieces of the Motive system.
Name | Description |
---|---|
Allow Multiple Script Runners | Whether multiple “Script Directory Items” can be running simultaneously. For VR training, this is equivalent to Scenario. This field should generally be “false” for training where only one Scenario will run at a time. |
Auto Launch Script Runners | Whether previously running Script Launchers should re-launch on start. This should generally be “false” for training where Scenarios are launched on demand. |
Save Script State While Running | Whether to continuously save the currently running Script state while the app is running. This can have performance impacts and is not required for training. |
Pre Load Asset Bundles | Whether to pre-load any asset bundles on Script sync. Generally not required. |
AR App Initializer
Sets up AR features.
App Starter
Handles initial connection to Storyflow API for API launch method and start running Main Scripts.
Name | Description |
---|---|
Start Running Scripts | If true, automatically run any scripts called “Main” (or other Script names as defined in Script Manager). |
Dynamic Config
Generally not used in VR training, but can be used to launch a login flow for choosing App Configs dynamically.
App Config Loader
If used, loads the App Config from an external file instead of from an asset in the project. Allows for overriding App Configs post-install.
Name | Description |
---|---|
File Name | The file name to use for the App Config. |
Short Code Launcher
If used, automatically launch a Short Code on the Launch Server.
Name | Description |
---|---|
Short Code | The Short Code to Launch. |