unity-uitoolkit

Create and wire Unity UI Toolkit UXML/USS assets to UIDocument and PanelSettings.

1|Updated May 21, 2026
One-click install
npx skills add https://github.com/YiDuandtdt/Bone-Throne --skill unity-uitoolkit-yiduandtdt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-uitoolkit
Source: https://github.com/YiDuandtdt/Bone-Throne/tree/main/.agents/skills/unity-skills/skills/uitoolkit
Command: npx skills add https://github.com/YiDuandtdt/Bone-Throne --skill unity-uitoolkit-yiduandtdt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity developers often struggle to author and organize Unity UI without a clean workflow for UXML/USS, UIDocument, and PanelSettings. This skill provides a cohesive approach to create and wire UI Toolkit assets, enabling scalable, maintainable UI across editor and runtime contexts.

Core Features & Use Cases

  • Create and edit UXML structures and USS stylesheets for Unity UI.
  • Attach UI documents to scenes via UIDocument and configure PanelSettings for consistent rendering.
  • Generate EditorWindow and runtime UI scaffolds to accelerate UI development, plus support for design tokens and CSS-like variables in USS.

Quick Start

Create a USS file, create a UXML file referencing the USS, and attach a UIDocument to a scene object to render the UI.

Frequently Asked Questions about unity-uitoolkit

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

FAQPage Schema
How do I create and wire Unity UI Toolkit assets like UXML and USS?

To create Unity UI Toolkit assets, you generate UXML structures for layout and USS stylesheets for styling, then bind them through UIDocument and PanelSettings components to render interfaces in your scene.

Does Unity UI Toolkit support building both EditorWindow tools and runtime UI?

Yes, Unity UI Toolkit supports building both EditorWindow extensions and runtime UI scaffolds, allowing you to create scalable interfaces using VisualElement hierarchies across editor and runtime contexts.

How do I attach a UIDocument to a scene object for UI rendering?

To render UI, attach a UIDocument component to a scene object and configure PanelSettings to ensure consistent rendering of your UXML structures and USS stylesheets across the display.

Can I use CSS-like variables and design tokens in USS styling?

Yes, you can use CSS-like variables and design tokens within USS stylesheets to define scalable and maintainable styling for your Unity UI Toolkit components.

What is the best way to organize Unity UI development without a clean UXML workflow?

The best way to organize Unity UI development is to use a cohesive UXML and USS workflow that automates asset creation and wiring to UIDocument, enabling maintainable UI structures.

Does this Unity UI Toolkit workflow require specific Unity versions?

This Unity UI Toolkit workflow is applied within Unity 2022.3+ to ensure safe asset integration for PanelSettings and UIDocument in scene setups and full support for UI features.