How to setup the scenario engine?
The scenario engine is meant to run the main scenario of your application and be unique to your scene.
Other scenarios can be executed on various game objects using the ScenarioRunner component. An example of scenario running on a game object is the TypeWithScenario component. See Run a scenario for more details.
In this example, it is expected you instanciated a Xareus prefab (or manually created a game object) with a ScenarioEngineKernel
component
- Select the game object within the scene. It must contains a
Scenario Engine Kernel
component. - This script has a field called
Scenario
. You must fill this field. You can either click the field, and browse to add your scenario file. Alternatively, you can open a windows explorer. Use the explorer to find the scenario file. Drag the file from the explorer into the Unity field. Another option is to open your main scenario in the scenario editor and clickFile
=>Set Current Scenario
