-
Notifications
You must be signed in to change notification settings - Fork 72
Add new tasks to an existing Landmarks compatible environment
Objective: Recreate the demo_SimpleSample_50x50.unity scene by adding tasks to the SimpleSample_50x50.unity scene
-
From the Unity Editor, open Assets/Landmarks/Scenes/SimpleSample_50x50.unity
-
In the hierarchy, expand the parent GameObjects so the
TasksGameObject is visible (_Landmarks_/LM_Experiment/LM_Timeline/Tasks). -
In the project window, navigate to Assets/Landmarks/Prefabs and drag the
TASK_LearnTargetsprefab onto theTasksGameObject so it is placed as a child in the hierarchy window.- In the hierarchy, expand
TASK_LearnTargetsand select theViewTargetsGameObject. - In the inspector window, set the "repeat" value to 1 (you can choose any integer and this will determine how many times the task will repeat practicing each target object.
- In the hierarchy, expand
-
In the project window, navigate to Assets/Landmarks/Prefabs and drag the
TASK_NavigationTaskprefab onto theTasksGameObject so it is placed as a child in the hierarchy window.- In the hierarchy, select
TASK_NavigationTaskand note the "repeat" value is set to 1 (we will leave it at 1, but you may change it to any integer you like to add blocks of navigation). - In the hierarchy, expand
TASK_NavigationTaskand select theNavigationTrialsGameObject - In the inspector window, set the "repeat" value to 3 (we are using 3 because that is the number of targets in the scene; you can set this value to any integer and it will determine how many trials of navigation there are in each block).
- In the hierarchy, select
-
Click the "Play" button in the Unity editor window. The scene should now operate exactly as it would if you opened the preconfigured demo scene detailed in the previous section (Assets/Landmarks/Scenes/demo/demo_SimpleSample_50x50.unity).