unity-uitoolkit

Create and edit Unity UI Toolkit USS stylesheets, UXML layouts, and UIDocument scene components.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building Unity UI Toolkit interfaces requires coordinating USS stylesheets, UXML layout files, PanelSettings assets, and UIDocument scene objects, and small mistakes like unsupported CSS properties or invalid binding attributes can break asset imports. This Skill gives an AI agent the exact skill calls, guardrails, and USS patterns to author UI Toolkit UIs correctly. ## Core Features & Use Cases - File and scene authoring: Create, read, edit, and batch-create USS/UXML files, generate PanelSettings assets, and attach UXML to scenes via UIDocument components. - Structure and styling operations: Add, modify, clone, or remove UXML elements and add or remove USS selector rules, with starter templates for menus, HUDs, dialogs, and more. - Unity 6 features: Declare runtime data bindings in UXML, create world-space UI panels, and run UXML upgraders, with version-gated errors that report the required Unity version. - Use Case: Ask the agent to build a game HUD, and it creates the PanelSettings, a USS file with design tokens, a UXML layout referencing the stylesheet, and a UIDocument in the scene wired to both. ## Quick Start Use the uitoolkit skill to create a 1920x1080 PanelSettings asset, a USS stylesheet, a UXML HUD layout, and a UIDocument named HUD in the scene.

Frequently Asked Questions about unity-uitoolkit

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

FAQPage Schema
How do I create a Unity UI Toolkit UI with UXML and USS?▼

Create the USS stylesheet and UXML layout first, then attach them to the scene with a UIDocument component. Runtime rendering also requires a PanelSettings asset, typically configured with ScaleWithScreenSize for HUDs and menus.

What CSS properties are not supported in Unity USS?▼

USS does not support display:grid, box-shadow, calc(), @media, ::before/::after pseudo-elements, z-index, or gradients. Layouts are flex-only, shadows are faked with extra background elements, and stacking order follows sibling order.

Does Unity UI Toolkit support runtime data binding?▼

Runtime data binding via DataBinding elements requires Unity 6000.0 or later and is written directly into the UXML asset. On older versions like 2022.3, only the editor-only SerializedObject binding-path mechanism is available.

Can I use UI Toolkit for world-space 3D UI in Unity?▼

World-space UI requires Unity 6000.2 or later, using a UIDocument with world-space properties or a PanelRenderer on 6000.5+. The linked PanelSettings must be switched to world-space render mode, which the creation skill can do automatically.

What is the difference between UI Toolkit and UGUI Canvas?▼

UI Toolkit uses UXML for structure, USS for styling, and UIDocument for scene attachment, while UGUI uses Canvas, Button, Text, and Image components. The two systems are separate and their skills and assumptions should not be mixed.