Unity는 다음의 사용자 인터페이스(UI) 툴킷을 제공하여 Unity 에디터나 애플리케이션의 UI를 만들도록 지원합니다.
OnGUI
함수, 그리고 OnGUI 함수를 구현하는 스크립트를 사용하여 사용자 인터페이스를 그리고 관리합니다. IMGU를 사용하여 게임 내 디버깅 디스플레이, 스크립트 컴포넌트용 커스텀 인스펙터, Unity 에디터를 확장하는 창 또는 툴을 생성할 수 있습니다. 게임 또는 애플리케이션용 UI 빌드에는 권장하지 않습니다.다음 질문에 대한 답변에 따라 UI 툴킷을 선택해야 합니다.
Runtime dev UI | Runtime game UI | Unity 에디터 | |
---|---|---|---|
UIElements | TBD | TBD | ✔ |
Unity UI | ✔ | ✔ | 사용 불가 |
IMGUI | 디버깅용 | 권장하지 않음 | ✔ |
UIElements는 실험 단계에 있는 기능이지만 향후 게임 내 UI와 Unity 에디터 UI 개발 모두에서 권장 UI 툴킷으로 지정될 예정입니다. 그때까지는 Unity UI 및 IMGUI에서 이용 가능한 일부 기능이 UIElements에서 제공되지 않을 수 있습니다.
또한 UIElements에 대한 변경 사항은 Unity의 이전 버전에는 존재하지 않습니다. 업그레이드하는 경우 이전 Unity 버전의 인터페이스도 함께 업그레이드해야 합니다.
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.