unity-ui

Create and lay out Unity UGUI Canvas elements, controls, and layout groups.

Updated Oct 13, 2025
One-click install
npx skills add https://github.com/Darth-Carrotpie/ProxyCore --skill unity-ui-darth-carrotpie
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: unity-ui
Source: https://github.com/Darth-Carrotpie/ProxyCore/tree/main/.agents/skills/unity-skills/skills/ui
Command: npx skills add https://github.com/Darth-Carrotpie/ProxyCore --skill unity-ui-darth-carrotpie

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building Unity UGUI interfaces by hand through the editor is slow and repetitive, especially for menus, HUDs, and multi-element screens. This Skill lets an AI agent create, position, anchor, and style Canvas-based UI elements programmatically through structured skill calls. ## Core Features & Use Cases - 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 multi-element screens. - Layout and RectTransform Control: Apply anchor presets, full RectTransform editing, vertical/horizontal/grid layout groups, alignment, and distribution of selected elements. - Properties and Effects: Configure image fill modes, layout elements, CanvasGroups, masks, outline/shadow effects, and selectable transitions, with automatic TextMeshPro detection for text. - Use Case: Build a main menu by creating a Canvas and panel, batch-creating Start/Options/Quit buttons, then applying a MiddleCenter anchor and vertical layout group in a few calls. ## Quick Start Ask the agent to 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 with buttons programmatically?▼

Create a Canvas with ui_create_canvas, add a panel with ui_create_panel, then use ui_create_batch with a JSON items array to create multiple buttons at once. Finish with ui_set_anchor and ui_layout_children to position and stack them vertically.

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

UGUI is the Canvas-based UI system using GameObjects, RectTransforms, and components like Image and Button. UI Toolkit uses UXML/USS/UIDocument instead. This Skill covers UGUI only; route UI Toolkit tasks to the uitoolkit module.

Does Unity UI text creation support TextMeshPro?▼

Yes, text creation auto-detects TextMeshPro. If TMP is installed it creates a TextMeshProUGUI component, otherwise it falls back to the legacy UnityEngine.UI.Text. Check the response payload to confirm which component was created.

How do I position UI elements after creating them in Unity?▼

Most create skills do not accept x/y placement. Create elements first, then use ui_set_anchor for preset positions, ui_set_rect or ui_set_rect_transform for precise size and offsets, and ui_layout_children for automatic vertical, horizontal, or grid arrangement.

Why does ui_add_canvas or ui_create_label not work?▼

Those skill names do not exist. Use ui_create_canvas for canvases and ui_create_text for labels; similarly use ui_create_toggle instead of ui_create_checkbox. The exact schema is available via GET /skills/schema or unity_skills.get_skill_schema().