← ClaudeAtlas

unity-ui-authoringlisted

Use when creating or validating Canvas UI, RectTransforms, UI layout, controls, or visual-regression baselines.
german-krasnikov/unity-biome-mcp · ★ 29 · Web & Frontend · score 80
Install: claude install-skill german-krasnikov/unity-biome-mcp
# Unity UI Authoring If it is not already loaded, read `.claude/skills/unity-mcp-operations/SKILL.md` once. This skill covers Canvas-based UI exposed by the current MCP tools. It does not claim to author UI Toolkit UXML or USS unless the live tool schema explicitly provides that capability. ## Workflow 1. Inspect the existing Canvas and hierarchy. 2. Enable `MEDIA` when UI or visual tools are gated. 3. Create semantic controls with `create_ui`. 4. Set stable anchors, size, pivot, and offsets with `set_rect`. 5. Inspect `RectTransform` values. 6. Validate layout and capture a visual result at the required viewport. ```text batch( commands=""" create_ui type=Canvas name=HUD create_ui type=Panel name=StatusPanel parent=/HUD anchor=top-right size=(320,120) color=#202226E6 create_ui type=Text name=Status parent=/HUD/StatusPanel anchor=stretch text=READY font_size=24 set_rect path=/HUD/StatusPanel/Status anchor=stretch offset_min=(16,12) offset_max=(-16,-12) get_component path=/HUD/StatusPanel/Status type=RectTransform """, on_error="stop", atomic=True ) ``` ## Rules - Use anchors and constraints before absolute offsets. - Verify long text and narrow viewports. - Keep touch targets and dense toolbars appropriate for their audience. - Use data inspection for interactability and references; use screenshots for layout and appearance. - Establish a baseline only after the intended state is stable. - A pixel difference proves that pixels changed, not that behavior is corre