Skip to main content

ALF Interactivity Tools

The ALF tools help you build interactive XR lessons in Unity: scenes to stand in, step-by-step instructions, buttons learners can press, machines that come apart, parts that move, and more.

You don't need to be a Unity expert. New to Unity? Read Before you start first. Each tool then has short step-by-step guides. The first guide of each tool, linked under Start here below, covers what you need and the main choice to make.

The tools​

ToolWhat it doesStart here
Scene GenerationCreates a new lesson scene, in VR or AR, with the player set up.VR or AR, and the player setups
Main Menu SetupBuilds the start menu, with one button per lesson.How the start menu works
Scenario SetupBuilds the lesson as a series of steps, with instructions, changes in the room, and ways to finish each step.How a lesson is built from steps
XR Pre-TrainingAdds a short warm-up before a lesson, so learners practise the XR controls first.How XR Pre-Training works
Guidance SetupA simpler version of Scenario Setup: instruction panels only.When to use Guidance Setup
Button InjectionAdds pressable buttons to a machine, or anywhere in the room.Kinds of buttons
Model AdjusterTurns, resizes and sets a model on the ground before you place it.When a model needs adjusting
Object SpawnerPuts a model into the scene, and decides whether learners can pick it up.What you need to place a model
Exploded ViewPulls a machine apart into its pieces, and puts it back together.Models that can come apart
Kinematic Editor ToolMakes parts slide, swing or spin, with buttons to control them.Starting positions and axes
Part PaletteA board on the wall with small models of parts. Poking one gives the learner the real part.How the palette is built
YouTube PlayerAdds a video screen that stays in the room.Add a video screen
GraphsTurns a CSV file or formulas into a chart that stands in the room.Your data: CSV file or formulas
Syntax HighlighterShows program code on a board, coloured like in a code editor.Your code: typed or from a file
MotionRecords how you operate a machine and replays it as ghost hands with your voice.What you need to record
Planetary LabA falling-objects experiment with gravity and air resistance on Earth, the Moon or Mars.What learners see and do
Electric FieldAn electrostatics experiment with charges, field arrows, field lines and a measuring probe.What learners see and do
Mesh DeformationA bending lab for materials science: how a beam bends and where it's under stress.Before you start
Positioning SetupAR only: lines up a 3D model with a real object using printed QR codes.How QR alignment works
Text Import & ExportGets all texts of a lesson into one file to translate or reword, and lets learners switch languages.Before you start
UtilitiesScene Check and Project Status: find stray cameras and check the project settings.Scene Check

Building a lesson, in order​

  1. Create the scene with Scene Generation.
  2. Add what the learner works with: models with Object Spawner (prepared with the Model Adjuster if needed), buttons with Button Injection, moving parts with the Kinematic Editor Tool, machines that come apart with Exploded View, and so on.
  3. Add content to read and watch: charts with Graphs, code with the Syntax Highlighter, videos with the YouTube Player, and recorded demonstrations with Motion.
  4. For AR on a real object, line it up with Positioning Setup.
  5. Build the lesson steps with Scenario Setup, which ties everything together. Then add a warm-up with XR Pre-Training, so learners practise the controls first.
  6. Add the lesson to the start menu with Main Menu Setup.
  7. For other languages, translate the texts with Text Import & Export.

Where to find the tools​

In Unity's top menu, under ALF. The tools that add things to a scene are under ALF > Interactivity.

The tool windows work in similar ways​

  • Many tools have a list on the left of what you've already made in the scene. Click an item to change it.
  • On the right are numbered steps, one at a time. Work through them in order with Next.
  • The heading above the steps tells you whether you're editing something that exists, or setting up something new.
  • When you're done, save the scene with Ctrl+S.
  • Stop Play mode before using a tool. Changes made while the scene is playing are lost.
New to Unity?

The Unity words used in these guides (Scene, Hierarchy, Inspector, Play mode) are explained in Before you start.