3. Create a playable map in one click¶
One button builds a whole map: the assets, the Canvas or the camera, the host, the traversal
controller, the presenter, input, hit testing, and a small control panel you can press in Play
Mode. You do not need a scene root, a Canvas, an EventSystem, or a single asset before you
start, and you do not write any C#.
This is the fastest route from an empty scene to a map you can click. 4. Add a map to your scene covers the other direction: fitting a map into a scene you have already built.
Starter walkthroughs¶
These two English recordings cover the starter Canvas path in Unity 6000.3.25f1: six nodes,
seven edges, and seed 4242. They use real mouse and keyboard actions on an isolated desktop;
pauses are trimmed, and the English captions are included in the picture. Optional caption
files and transcripts are available below. This is the starter flow,
not Experience Studio and not the optional concept art demos.
Choose a step below to watch it on its own, or play the full tutorial.
Use fullscreen to read the Unity controls. Choose a chapter with a mouse or keyboard to play that step and pause at its end. Use Continue full tutorial to keep watching from that point. The transcript timestamps work the same way.
Choose an authoring step
Choose a step below to watch it on its own, or play the full tutorial.
Choose a runtime step
Runtime transcript and chapters
- Waybranch Runtime Flow.
- Start a fresh run and enter the Gateway. This creates the first playable state.
- Save the Gateway, then complete it. Saving records progress before traversal continues.
- Focus the Game view and press Up. Keyboard focus moves to the available Route.
- Press Return to enter the Route. The selected node becomes the current content.
- Save the Route checkpoint, then complete it. The checkpoint preserves the new progress.
- Enter the Landmark. The completed Route unlocks its destination.
- Load the saved map and route. The HUD shows Route pending, Gateway completed, and Landmark locked.
- Save the restored state, then exit Play Mode. The captured runtime flow is complete.
- Runtime flow complete.
Video files and captions
- Authoring: MP4, English captions, capture receipt.
- Runtime: MP4, English captions, capture receipt.
These recordings use the Canvas starter. The wizard creates its own camera with a neutral solid-color background; existing camera components keep their settings. The World2D starter uses its own orthographic camera. Switching the presentation does not change the map graph.
The soundtrack is Exploration Theme by Cleyton Kauffman, released under CC0 on OpenGameArt, under CC0.
1. Open the Setup Wizard¶
Tools > Waybranch > Setup Wizard. Nothing has to be selected in the Hierarchy, and the scene can be empty.
2. Choose Canvas or World2D¶
Canvas Presenter is ticked by default and gives you a screen-space uGUI map that scales with the window. Untick it for World2D, an in-scene map drawn in front of a camera.
Everything below is the same either way. Running the wizard again with the other setting rebuilds the presentation for that renderer.
3. Press Create Complete Starter Map¶
The wizard creates a new folder, Assets/WaybranchStarter, and writes eight assets into
it. If that folder name is taken it uses WaybranchStarter1, WaybranchStarter2, and so
on, so pressing the button twice never overwrites the first result.
| Asset | What it holds |
|---|---|
Route, Rest, Landmark, Gateway |
One node type each, with a stable ID such as starter.route and a display label. |
Starter Rules |
Four layers holding 1, 2, 2 and 1 nodes; type weights Route 6, Rest 2, Landmark 2, Gateway 1; at most two routes out of and into any node; crossing routes forbidden. |
Starter Theme |
Vertical layout, curved routes, layer spacing 150, node spacing 110, zoom clamped to 0.65 - 2.2. |
Starter Blueprint |
The rules above, procedural mode, preview seed 20260801. This is what the host generates from. |
Starter Content Pool |
Three weighted rows filtered by node type, so every node you enter hands your game a content ID. |
In the scene it then builds the hierarchy, adds the components, points them at each other,
writes the new assets into the host, and validates the result. A save slot is derived from the
folder name, so this map is waybranch.waybranchstarter and cannot collide with another
map's save.
The whole thing is one undo step named Create Waybranch Playable Map. If any part of it fails, the objects and the asset folder are removed again and the validation report at the bottom of the window says what stopped it. It never installs a package or changes a project setting.
The status line reports success: Playable starter created. Enter Play Mode, select a node, then use the starter controls to complete, save, and load.
4. Look at what you got¶
The new Waybranch Playable Map object is selected for you.
Waybranch Canvas Canvas, CanvasScaler, GraphicRaycaster
Waybranch Canvas Background Camera neutral solid-color clear
Waybranch Playable Map the five components below
Waybranch Safe Area MapSafeAreaController
Waybranch Map Content CanvasMapPresenter
Waybranch Starter Controls MapHostStarterPanel
A Waybranch Event System object is added under the map root when the scene has none,
because keyboard, controller, and pointer navigation need one. A scene that already has an
EventSystem keeps it.
Waybranch Playable Map the five components below
Waybranch Camera owned orthographic camera, neutral solid-color background
Waybranch World Content WorldMapPresenter
Waybranch Controls Canvas Canvas, CanvasScaler, GraphicRaycaster
Waybranch Starter Controls MapHostStarterPanel
The starter controls get their own screen-space Canvas here, since the map itself is not
drawn on one. A Waybranch Event System object is added under the map root when the
scene has none.
Five components go on the root object: WaybranchMapHost, MapTraversalController,
MapInputController, DefaultMapNodeHitTester, and MapSetupHierarchyBinding, which is the
record of what the wizard created and owns.
5. Read the host¶
Select the root and look at Waybranch Map Host. This is the one component you will touch again, and every field on it was filled in for you.
| Group | What it decides |
|---|---|
| Map | Which blueprint and theme are compiled, the optional style preset, and whether the seed comes from the blueprint or from Fixed Seed. |
| Scene | The controller and presenter the host drives, and Auto Start: load the save slot on Play, and generate a new map only when there is nothing saved. |
| Content routing | The content pool that answers "what is in this node", or your own resolver component. |
| Persistence | Save Adapter Kind (File by default, written under a folder of your naming inside Unity's persistent data path), and the save slot for this map. |
| Inspector events | Host Ready, Content Requested, Save Completed, and Host Failed, wired from the inspector like any UnityEvent. |
6. Press Play¶
The map generates and draws itself. Available nodes are bright, locked nodes are dimmed, and the node you occupy is ringed.
- Click a bright node, or move focus with the arrow keys and press Enter.
- Read the panel. The line beginning Content requested: names the content ID the pool chose
for that node,
starter.encounteron a Route or Landmark node from the starter set. That ID is Waybranch telling your game which encounter to open. It does not open anything itself, load a scene, or grant a reward. - Press Complete Current. That stands in for your content finishing, and it unlocks whatever the completed node leads to.
7. Save, then load¶
- Press Save. The whole run is written to the slot: the graph, your route through it, the selection history, and the content that is active right now.
- Press Load.
A save that cannot be trusted is refused rather than repaired: a corrupt file, a save written against a different blueprint, or content that no longer exists all fail closed and report why. The live run is left alone in every one of those cases.
8. Make it yours¶
The starter panel is ordinary uGUI and is not part of the package's runtime. Delete
Waybranch Starter Controls whenever you want and drive the host from your own interface
instead: its Start New, Complete Current, Save, and Load are public host operations, and
Content Requested carries the ID of the thing your game should open.
The assets in Assets/WaybranchStarter are yours too. Edit the rules to change the shape of
the map, the node types to change what a node means, and the content pool to change what each
node hands you.
Keep the save slot stable once you ship
A saved run remembers which blueprint and which content pool produced it. Renaming a blueprint recipe or changing a resolver after players have saves is a migration decision, not a free edit. Give each map its own slot and leave it alone.
Next¶
- 4. Add a map to your scene - the same components, added to a scene root you already own, with your own assets.
- 5. Restyle your map - the starter map draws with the shipped default. This is how you make it yours.
- Save and load progress - slots, adapters, and what a save envelope actually contains.
- Drive traversal from code - when you are ready to replace the starter panel with your own flow.




