Lost Lily/Grid ToolkitDocs 1.0
Table of Contents

Samples & Demos

Use these ready-made scenes after the beginner path or when you want to inspect one focused workflow. Samples is the shipped Unity folder and menu name. This handbook uses demo for a playable learning scene inside that folder.

The 12 guides cover all 14 entries in the shipped catalog. The three Inventory scenes share one guide because they teach the same interaction on square, hexagonal, and triangular boards.

Before you begin

All Samples require Unity UI (uGUI), Input System, Universal Render Pipeline (URP), and a Universal Renderer. These are Sample dependencies, not requirements for the Grid Toolkit core. See Compatibility and dependencies for supported package versions and setup details.

If Unity warns that the active render pipeline is different, choose Open Anyway only to inspect the scene without changing project settings. Configure and assign a Universal Renderer before judging the intended presentation.

Each scene includes an on-screen status panel, called the HUD, for controls, diagnostics, and checkpoints. When a guide says to read the HUD, use that panel rather than the Unity Console.

Choose a scene

Guided tutorials

Start here for one carefully staged idea at a time.

  1. Inspect a first board — connect authored setup, live state, and view.
  2. Preview placement rules — compare valid, blocked, occupied, and out-of-bounds placement.
  3. Move a structure — preview and commit a structure move.
  4. Add and remove runtime cells — change live cells without editing the authored asset.
  5. Save and restore a basic board — capture, mutate, and restore a small state.

Playable examples

Choose these when you want to see several systems working together.

Extension example

How to use these guides

Open scenes from Tools > Lost Lily > Grid Toolkit > Samples > Open so the catalog can check dependencies and render-pipeline readiness first. Each guide repeats the exact final menu path. Enter Play Mode, follow Try it, and compare the scene to the Checkpoint before experimenting.

Sample controllers and assets are teaching material, not supported extension contracts. Build production features against public Grid Toolkit APIs such as GridBoardState, not types under LostLily.GridToolkit.Demos.*.

For experiments, duplicate only the scene and the assets you intend to change into a project-owned folder. Treat the Sample scripts as reference material rather than copying them into production code.