Samples Overview
The UPM package ships two runnable samples under Packages/com.farukcan.ratatui.unity/Samples~/. Import them via Window → Package Manager → ratatui-unity → Samples → Import.
| Sample | Folder | What it shows |
|---|---|---|
| BasicUsage | Samples~/BasicUsage/ |
Full tabbed demo: 9 tabs covering every widget, layout, input, hover, animation. |
| Developer Console | Samples~/Console/ |
Drop-in runtime console (logs + command registry) auto-bootstrapped before scene load. |
Each sample is self-contained — it has its own .asmdef, only depends on RatatuiUnity.Runtime.
At-a-Glance
graph LR
A[BasicUsage] --> A1[RatatuiDemo<br/>tab host]
A1 --> A2[Dashboard]
A1 --> A3[Servers]
A1 --> A4[Colors]
A1 --> A5[Email]
A1 --> A6[Recipe]
A1 --> A7[Weather]
A1 --> A8[Traceroute]
A1 --> A9[Input]
A1 --> A10[About]
A --> B[ESP32Terminal<br/>standalone device sim]
C[Console] --> C1[RatatuiConsole<br/>public facade]
C1 --> C2[ConsoleLogCapture]
C1 --> C3[ConsoleCommandRegistry]
C1 --> C4[ConsoleHistory]
C1 --> C5[RatatuiConsoleRenderer]
Next
- BasicUsage (Tabs Demo) — what each tab demonstrates and how to read its code.
- Developer Console — how to use, configure, and extend the runtime console.