What problem does it solve?
This Skill solves the problem of manually creating and maintaining Unity UI Toolkit (UITK) screens by giving you structured guidance and repeatable edits for UXML and USS.
Core Features & Use Cases
- Create and update UITK assets: Generate USS and UXML files, write changes, search existing assets, and inspect UXML structure for safe incremental edits.
- Attach UI to scenes with correct rendering setup: Create and update UIDocument and PanelSettings so your UI renders correctly at runtime.
- Programmatically build and style VisualElement hierarchies: Add, modify, remove, and clone UXML elements and add/remove USS selector rules (with guardrails against unsupported CSS features).
Use case: You need to add a new “Settings” panel to an existing Unity 2022.3+ project—create the USS style tokens, draft the UXML layout, then attach it via UIDocument and PanelSettings and iteratively refine the element tree without mixing UITK with UGUI/Canvas.
Quick Start
Ask: Create a UITK HUD named MainHUD using Assets/UI/MainHUD.uxml and Assets/UI/MainHUD.uss, add a header label and a flex row of two buttons, then create or update the PanelSettings and attach the UIDocument in the scene.