Skip to content

Add new tasks to an existing Landmarks compatible environment

Michael Starrett Ambrose, PhD edited this page Oct 20, 2023 · 6 revisions

Watch the Video Tutorial (click to open or right-click and open in a new tab/window): Alt Text Here

Objective: Recreate the demo_SimpleSample_50x50.unity scene by adding tasks to the demo/SimpleSample_50x50.unity scene

  1. From the Unity Editor, open Assets/Landmarks/Scenes/SimpleSample_50x50.unity

  2. In the hierarchy, expand the parent GameObjects so the Tasks GameObject is visible (_Landmarks_/LM_Experiment/LM_Timeline/Tasks).

  3. In the project window, navigate to Assets/Landmarks/Prefabs and drag the TASK_LearnTargets prefab onto the Tasks GameObject so it is placed as a child in the hierarchy window.

    • In the hierarchy, expand TASK_LearnTargets and select the ViewTargets GameObject.
    • 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.
  4. In the project window, navigate to Assets/Landmarks/Prefabs and drag the TASK_NavigationTask prefab onto the Tasks GameObject so it is placed as a child in the hierarchy window.

    • In the hierarchy, select TASK_NavigationTask and 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). Each block includes navigation to all TargetObjects in a randomized order.
  5. 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).