Skip to content

Tick UI

Tick UI is an immediate-mode GUI for Unity. It's a complete UI stack for in-game HUDs, debug overlays, and custom interfaces.

The interface lives entirely in C# code. A single DoUI(UI ui) method describes the entire screen for that frame. Layout, input, and animation are all expressed inline.

protected override void DoUI(UI ui)
{
    ui.BeginFrame(new Vector2Int(Screen.width, Screen.height));
    ui.Fill(Color.clear);

    using (ui.Auto().Center(200, 60))
    {
        ui.FillRounded(UI.FromHex("#23C9FF"), 8);
        ui.Text("Hello, world", "roboto_mono", 24, Color.white,
            TextAlign.MiddleCenter);
    }

    ui.EndFrame();
}

Where to start

  • Getting Started: install Tick UI, learn the immediate-mode GUI model, and create your first working screen.
  • Core concepts: the model behind Tick UI. The frame lifecycle, the stacks the package maintains for you, state, IDs, and input routing.
  • Layout: the Auto() scope, single-rect helpers, and the multi-element schemas (Series, Stack, Sized, Grid).
  • Widgets: buttons, textboxes, scroll views, and the invisible-widget idiom they share.

The packaged Gallery sample (Package Manager > Tick UI > Samples) contains around fifty worked examples covering every primitive and pattern referenced in this manual.