一键导入
unity-ui-toolkit
Master guide for high-performance interface development using UI Toolkit. Based on Unity 6+ standards and hardware optimization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Master guide for high-performance interface development using UI Toolkit. Based on Unity 6+ standards and hardware optimization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Master orchestrator for designing scalable systems in Unity. Use ALWAYS when creating new systems, refactoring code, or structuring complex mechanics. Enforces SOLID principles and strict decoupling.
Comprehensive workflow for conceiving, documenting, and implementing new features in Unity. Enforces a design-first approach with three mandatory phases.
The definitive framework for resolving bugs, exceptions, and bottlenecks in Unity. Use ALWAYS when unexpected behavior, console errors, or FPS drops are reported. Enforces the scientific method.
| name | unity-ui-toolkit |
| description | Master guide for high-performance interface development using UI Toolkit. Based on Unity 6+ standards and hardware optimization. |
The master guide for high-performance interface development using UI Toolkit. Based on Unity 6+ standards and hardware-accelerated optimization.
flex-direction: column..uss files. Use variables in :root for design tokens (colors, spacing).[UxmlElement] and [UxmlAttribute] attributes on partial classes. Avoid the legacy UxmlFactory boilerplate.width, height, margin, padding, top, left). This forces a CPU-intensive "Layout Recalculation" of the entire visual tree.translate, rotate, scale.UsageHints.DynamicTransform on elements that move or animate frequently to ensure efficient GPU handling.UIDocument components for small elements. Group as many elements as possible under a single UIDocument to maximize batching.Panel Settings asset.display: none: Removes the element from layout calculations (most efficient for long-term hiding).visibility: hidden: The element still occupies layout space but is not rendered.VisualElements. Every level adds cost to Flexbox calculations.UxmlFactory manually in Unity 6; leverage the code generator.