Topic 7 · 7 workflows
UI
Design screens that read well, then build them in UI Toolkit or uGUI and keep them working in portrait and landscape.
- UI design: what a screen should look and read likeHierarchy, contrast, copy, motion, and the rule that text never resizes its shell.
- HTML/CSS mock to UI ToolkitPort a designed web mock to UXML/USS faithfully and ship it.
- USS/UXML: differences from CSSThe language delta between USS/UXML and the CSS a browser taught you.
- UI Toolkit runtime behaviourLayout, picking, events, style precedence, atlas cost and the pre-ship sweep.
- UI across orientationsOne UI tree that works in portrait and landscape.
- CSS mock to uGUIRebuild a CSS layout in Canvas/uGUI with correct anchors, layout groups and sorting.
- Pitfalls: UI screens & modalsLate-built widgets, hidden screens that still take taps, modal stacks.