Skip to main content

VR or AR, and the player setups

Every lesson lives in its own scene: a file that holds the room, the machines and everything the learner sees. Scene Generation makes a new scene and puts the player setup in it, so the learner's headset, controllers or hands work straight away.

New to Unity? The basic terms (Scene, Hierarchy, Project window, Play mode) are explained in Before you start.

VR or AR?​

Decide this first, because it changes what the learner sees around them.

The learner sees…Good for
VRA virtual room. The real world is hidden.Lessons that take place entirely in the virtual world.
ARThe real room through the headset's cameras (passthrough), with your 3D content added.Lessons next to a real machine or on a real workbench.

The five player setups​

You choose one in the Target XR Mode list:

OptionModeLearners use…
VR ControllersVRThe headset's controllers.
VR HandsVRTheir hands (hand tracking).
VR Hand LocomotionVRTheir hands, and can also move around the virtual room.
AR ControllersARThe headset's controllers.
AR HandsARTheir hands (hand tracking).

In the list, the names may be shown with underscores, for example VR_Controllers.

Where new scenes are saved​

New scenes are saved in the Project window under Assets/ALF-Generated/Scenes. The file name is the name you type in the tool.

Choose a good name

If you add the lesson to the main menu, the scene's file name becomes the text on its button. A name like Pump maintenance works better than New Case Scene.

Opening the tool​

In Unity's top menu, choose ALF > Scene Generation. The window has two tabs at the top:

ALF menu with Scene Generation highlighted

  • Create New Scene: makes a new lesson scene.
  • Update Existing Scene: changes the player setup of a scene you already have.
Not while the scene is playing

The tool doesn't work in Play mode. Stop Play mode first.