unity-ui

Create and lay out Unity UGUI Canvas elements, controls, and RectTransform layouts.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/Dylan8865/FinalYearProject --skill unity-ui-dylan8865
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: unity-ui
Source: https://github.com/Dylan8865/FinalYearProject/tree/main/GameDev/Tester/.agents/skills/unity-skills/skills/ui
Command: npx skills add https://github.com/Dylan8865/FinalYearProject --skill unity-ui-dylan8865

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building Unity UGUI interfaces by hand requires repetitive editor clicks to create Canvases, panels, buttons, and text, then manually tuning anchors and RectTransforms. This Skill exposes those operations as callable skills so an AI agent can construct and arrange entire UGUI screens programmatically. ## Core Features & Use Cases - UI Element Creation: Create Canvases, panels, buttons, text, images, input fields, sliders, toggles, dropdowns, scroll views, and scrollbars, with batch creation via ui_create_batch for menus and HUD groups. - Layout and Anchoring: Apply anchor presets, align or distribute selections, set full RectTransform data, and arrange children with vertical, horizontal, or grid layout groups. - Property and Effect Configuration: Configure image fill modes, layout elements, CanvasGroups, masks, outlines, and selectable transitions, with automatic TextMeshPro detection for text. - Use Case: Build a main menu by creating a Canvas, adding a panel, batch-creating Start/Options/Quit buttons, then applying a MiddleCenter anchor and vertical layout in a few calls. ## Quick Start Create a Unity UGUI main menu with a Canvas, a centered panel, and three vertically stacked buttons labeled Start, Options, and Quit.

Frequently Asked Questions about unity-ui

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

FAQPage Schema
How do I create a Unity UGUI menu programmatically?▼

Create a Canvas with ui_create_canvas, add a panel with ui_create_panel, then batch-create buttons using ui_create_batch. Finish by applying an anchor preset with ui_set_anchor and arranging children with ui_layout_children.

How to position and size Unity UI elements after creation?▼

Most create skills do not accept x/y placement, so create elements first, then position them. Use ui_set_anchor for standard presets, ui_set_rect for size and offsets, or ui_set_rect_transform for full Inspector-level RectTransform control.

What is the difference between UGUI and UI Toolkit in Unity?▼

UGUI is the Canvas-based system using RectTransforms, panels, and UnityEngine.UI components, while UI Toolkit uses UXML, USS, and UIDocument. This Skill covers UGUI only; route UXML or USS work to the uitoolkit module instead.

Does Unity UI text creation support TextMeshPro?▼

Yes, text creation auto-detects TextMeshPro availability. When TMP is installed it creates a TextMeshProUGUI component, otherwise it falls back to the legacy UnityEngine.UI.Text, and the response indicates which was used.

Why does ui_add_canvas or ui_create_label not work?▼

Those skill names do not exist and are common hallucinations. Use ui_create_canvas for Canvases, ui_create_text for labels, and ui_create_toggle for checkboxes; check GET /skills/schema for exact signatures.