Overview
This article describes how to configure an object in Unity to be usable in a Storyflow script. This is done by adding a Motive Scene Object script component to the object in Unity. The article will outline this process in Unity and the required steps in Storyflow.
Important: Any object that will be used as part of a training procedure authored in Storyflow must be a Motive Scene Object.
Setup - Unity SDK
In Unity, find the object in the hierarchy and select it.
Right click on the object select Motive -> Make Scene Object
In the Inspector, a Motive Scene Object component has been added to the object.
In the Motive Scene Object script, in the Name field type a name.
Remember this name. A catalog item with the same name will need to be created in a Storyflow Catalog.
For this example, the name will be 'Brush'.
Save the scene
Setup - Storyflow
In Storyflow, go to the Catalogs tab.
Motive Scene Objects need to be added to Named Object catalogs. If you already have one, you can use it. If not, create a new Named Object catalog.
Find the Named Object catalog and double click to open it.
Click the "+" button to add a new item. It will be added to the list.
Select the item and give it the same name that was given to the Motive Scene Object.
In this case, the name is Brush.
Save the Catalog
The Motive Scene Object, Brush, can now be added to any Storyflow script using the Scene Object Resource.