Version: Unity 6.0 (6000.0)
언어 : 한국어
Install UI Toolkit and sample projects
Graphic and font assets preparation

Introduction to UI Toolkit

Table of Contents

UI Toolkit offers significant advantages over the traditional Unity__ UI__(사용자 인터페이스) 사용자가 애플리케이션과 상호 작용하도록 해 줍니다. Unity는 현재 3개의 UI 시스템을 지원합니다. 자세한 정보
See in Glossary
(also known as uGUI) and legacy IMGUI (for Editor tools) systems. It provides a more modern, flexible, and performance-oriented alternative that scales better for most projects. It can also support your whole production pipeline, handling both Editor tooling and runtime games or applications.

Some of its benefits compared to the legacy UI systems include:

  • Faster iteration: Work and iterate more quickly with global style management and live authoring capabilities.

  • Rendering performance: Gain greater control over the performance of your game using Render Hints and dynamic texture atlases.

  • Better collaboration: Separate logic (C# code), UI structure (Unity XML, or UXML, documents), and styling (via a Unity Style Sheet or USS) to reduce conflicts and improve teamwork.

  • Reusability: Share and reuse styles and widgets within or across projects, as well as between the Editor and runtime.

UI Toolkit draws inspiration from web technologies, offering an advantage to developers familiar with web applications. For those new to markup languages like HTML/XML and Cascading Style Sheets (CSS), it’s a great opportunity to explore a powerful set of industry-standard tools.

In essence, UI Toolkit interfaces consist of UXML and USS files to create layouts and styling by the UI Toolkit systems.
In essence, UI Toolkit interfaces consist of UXML and USS files to create layouts and styling by the UI Toolkit systems.

UI Assets

UI Assets, the building blocks for creating UI, consist of UXML and USS files. UXML (Unity XML) represents the content and structure of your UI, and is similar to markup languages like HTML and XML.

USS, inspired by Cascading Style Sheets (CSS), is used to define the appearance and styles of your UI content. Both UXML and USS are used throughout this guide.

Similarities between UI Toolkit and web technologies
Similarities between UI Toolkit and web technologies

UI Builder

UI Assets can either be authored as code from your IDE of choice, or visually, with the UI Builder which is part of the UI toolkit. The UI Builder interface allows artists and designers to edit and visualize the UI as it’s being built.

Main Menu UXML Preview in the UI Toolkit - Dragon Crashers sample project.
Main Menu UXML Preview in the UI Toolkit - Dragon Crashers sample project.
Install UI Toolkit and sample projects
Graphic and font assets preparation
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961