Skip to content

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.

Author the starter map, set seed 4242, adjust the preview, and save the authored scene.

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
Authoring transcript and chapters
  1. Waybranch Map Authoring.
  2. Click Create Complete Starter Map. The wizard builds the scene and starter assets.
  3. Configure the slot and validate. Validation catches setup errors early.
  4. Save the authored scene. The scene becomes the editable handoff.
  5. Reopen the saved scene. This confirms the authoring result persists.
  6. Open Map Studio. The editor exposes the map controls.
  7. Select Starter Blueprint. The picker connects the demo to its source asset.
  8. Set seed 4242 and regenerate. A fixed seed makes the result repeatable.
  9. Select Starter Theme. The theme applies the demo look consistently.
  10. Adjust the preview zoom, then pan the graph. The overview checks the generated layout.
  11. Apply and save. This records the authored map for reuse.
  12. Authoring flow complete.
Run the starter map, save checkpoints, restore the route, and exit Play Mode.

Choose a step below to watch it on its own, or play the full tutorial.

Choose a runtime step
Runtime transcript and chapters
  1. Waybranch Runtime Flow.
  2. Start a fresh run and enter the Gateway. This creates the first playable state.
  3. Save the Gateway, then complete it. Saving records progress before traversal continues.
  4. Focus the Game view and press Up. Keyboard focus moves to the available Route.
  5. Press Return to enter the Route. The selected node becomes the current content.
  6. Save the Route checkpoint, then complete it. The checkpoint preserves the new progress.
  7. Enter the Landmark. The completed Route unlocks its destination.
  8. Load the saved map and route. The HUD shows Route pending, Gateway completed, and Landmark locked.
  9. Save the restored state, then exit Play Mode. The captured runtime flow is complete.
  10. Runtime flow complete.
Video files and captions

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.

The Waybranch Setup window, with a ticked Canvas Presenter checkbox and a tall Create Complete Starter Map button under the heading Fastest path

The window as it opens. Create Complete Starter Map sits under Fastest path and is the only control this page uses. The validation issue below reports that the manual setup path has no scene root; the one-click path does not need one.

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.

The Unity Hierarchy after the one-click Canvas build, with the selected Waybranch Playable Map root, Event System, Safe Area, Map Content and expanded Starter Controls

The Canvas object tree created in one step. The selected playable-map root owns the runtime components; its presentation and removable sample controls are visible below it.
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.

The Waybranch Map Host inspector, grouped into Map with a blueprint and theme, Scene with the traversal controller and presenter, Content routing with a content pool, Persistence with a save slot and folder, and empty Inspector event lists

The host holds the recipe (blueprint, theme, style, seed policy), the scene wiring it drives, where node content comes from, and where a run is saved. The event lists at the bottom are how your own scripts and buttons hook in later.
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.

The Quick Start sample after one traversal action, with one amber current Route node, two dim locked Route nodes, sample controls and a customer callback message

This recorded frame is the shipped Quick Start sample and shows the Canvas node states after traversal. It illustrates the presenter and state styling, not the exact contents of the generated starter panel.
  1. Click a bright node, or move focus with the arrow keys and press Enter.
  2. Read the panel. The line beginning Content requested: names the content ID the pool chose for that node, starter.encounter on 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.
  3. Press Complete Current. That stands in for your content finishing, and it unlocks whatever the completed node leads to.

7. Save, then load

  1. 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.
  2. Press Load.

The Quick Start sample after loading from memory, with the panel confirming an identical complete graph and traversal state and the same amber node current

The sample confirms that the complete graph and traversal state came back from memory, with the same node still current.

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