Version: 2020.3
UI 툴킷
시각적 트리

Accessing UI Toolkit

You can access UI Toolkit in two ways:

  1. As a core part of the Unity Editor.
  2. As a package (com.unity.ui).

The built-in version for each major Unity release is based on a specific package version.

빌트인 UI 툴킷 vs. UI 툴킷 패키지

The built-in version of UI Toolkit includes the features required to make user interfaces for the Unity Editor. The package version contains additional features required to make runtime user interfaces for games and applications.

Both versions of UI Toolkit work the same way, and use the same namespaces: UnityEditor.UIElements and UnityEngine.UIElements. If you install the package, you don’t need to do any additional configuration.

UI 툴킷 버전 선택

The decision of what version of UI Toolkit to use depends on the user interfaces you plan to make.

  • To create Editor-only user interfaces, use the built-in version of UI Toolkit.
  • To create runtime and Editor interfaces, install the UI Toolkit package.

Installing the package also gives you access to the latest UI Toolkit features. Unity may release preview versions of the com.unity.ui package between major Unity releases.

참고:
com.unity.ui의 프리뷰 버전에는 안정적이지 않거나 최종 단계가 아닌 기능이 포함될 수 있습니다. 프리뷰 버전은 프로덕션에 사용하지 마십시오.

UI 툴킷 패키지 설치

다음 단계에 따라 패키지 관리자에서 UI 툴킷 패키지를 설치합니다.

  1. Add(+)를 클릭합니다.
  2. From the menu, choose Add package from git URL…
  3. In the text field, type com.unity.ui
  4. Click Add

패키지 관리자가 UI 툴킷 패키지를 자동으로 찾아 설치합니다.

UI 툴킷
시각적 트리
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961