unity-ui-authoring

Solid

Use when creating or validating Canvas UI, RectTransforms, UI layout, controls, or visual-regression baselines.

Web & Frontend 27 stars 4 forks Updated today MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
48
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
83
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 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...

Details

Author
german-krasnikov
Repository
german-krasnikov/unity-biome-mcp
Created
2 months ago
Last Updated
today
Language
C#
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category