UI 툴킷은 에디터의 핵심 요소로 Unity에 포함되어 있으며, 현재 프리뷰 단계에 있는 com.unity.ui 패키지로도 제공됩니다. 각 주요 Unity 릴리스의 빌트인 버전은 패키지의 특정 버전에 기반하지만, 두 버전이 완전히 동일하지는 않습니다.
UI 툴킷의 빌트인 버전에는 Unity 에디터용 사용자 인터페이스를 만드는 데 필요한 기능이 포함되어 있습니다. 패키지 버전에는 이와 똑같은 기능뿐만 아니라, 게임 및 애플리케이션용 런타임 사용자 인터페이스를 만드는 데 필요한 기능도 들어 있습니다.
UI 툴킷의 두 가지 버전 모두 완전히 동일한 방식으로 작동하고 동일한 네임스페이스(UnityEditor.UIElements
및 UnityEngine.UIElements
)를 사용합니다. 패키지를 설치하면 추가 런타임 기능에 액세스할 수 있는 것 외에는 별다른 차이점이 없습니다. 또한 추가 설정을 지정할 필요가 없습니다.
빌트인 버전의 UI 툴킷을 사용할지, 아니면 패키지를 사용할지 여부는 만들려는 사용자 인터페이스 타입에 따라 다릅니다.
최신 UI 툴킷 기능을 빠르게 이용하고 싶은 경우에도 패키지를 설치하는 것이 좋습니다. Unity는 주요 Unity 릴리스 간에 com.unity.ui 패키지의 프리뷰 버전을 릴리스할 수 있습니다.
참고: |
---|
com.unity.ui의 프리뷰 버전에는 안정적이지 않거나 최종 단계가 아닌 기능이 포함될 수 있습니다. 프리뷰 버전은 프로덕션에 사용하지 마십시오. |
다음 단계에 따라 패키지 관리자에서 UI 툴킷 패키지를 설치합니다.
com.unity.ui
를 입력합니다.패키지 관리자가 UI 툴킷 패키지를 자동으로 찾아 설치합니다.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.