unity-ui

Create and configure Unity UI elements with layout and anchoring.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/krl76/MP-Study-Projects --skill unity-ui-krl76
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-ui
Source: https://github.com/krl76/MP-Study-Projects/tree/main/Practice1/.codex/skills/unity-skills/skills/ui
Command: npx skills add https://github.com/krl76/MP-Study-Projects --skill unity-ui-krl76

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity UI development often requires repetitive setup of Canvas, Panels, Buttons, and Text elements. This skill streamlines creation and layout by providing a suite of UI creation, arrangement, and batch operations.

Core Features & Use Cases

  • Create Canvas, Panels, Buttons, Text, and Image elements using a consistent, scriptable API.
  • Batch-create multiple UI elements with ui_create_batch and arrange them with ui_layout_children, ui_set_rect, and ui_set_anchor.
  • Manage text content, layout, and basic styling while keeping guardrails like unique naming and predictable sizing.

Quick Start

Create a canvas named MainMenu, then add a panel called MenuPanel and populate it with a batch of UI elements using ui_create_batch.

Frequently Asked Questions about unity-ui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Unity UI creation for multiple Canvas elements?

Automate Unity UI creation by using the ui_create_batch operation to instantiate multiple Canvas, Button, and Text elements simultaneously, applying consistent layout configuration and safe defaults across all generated items.

What is the best way to layout child UI elements in a Unity Panel?

Layout child UI elements in a Unity Panel by using the ui_layout_children function, which arranges multiple components with predictable sizing and anchoring, combined with ui_set_rect to enforce specific dimensions.

Can I batch create Unity UI Buttons and Text without manual setup?

Yes, you can batch create Unity UI Buttons and Text without manual setup by leveraging the ui_create_batch API, which handles element instantiation, unique naming guardrails, and basic styling automatically.

Does this Unity UI automation tool support world-space Canvas for XR interfaces?

This Unity UI automation tool supports creating world-space Canvas configurations for XR interfaces, handling typical UI workflows like in-game panels and menus with robust validation and safe anchoring defaults.

How do I set anchors and RectTransforms for Unity UI elements programmatically?

Set anchors and RectTransforms for Unity UI elements programmatically by invoking ui_set_rect and ui_set_anchor, which configure layout positioning and sizing with validation to ensure predictable UI arrangement.