UI를 구조화하는 방법을 배우는 가장 좋은 방법은 예시를 사용해 보는 것입니다.다음 예시에서는 UI 빌더에서 빌트인 컨트롤을 사용하고 커스텀 컨트롤을 생성 및 사용하는 방법을 보여줍니다.
항목 | 설명 |
---|---|
상대 및 절대 위치 지정 C# 예제 | 상대 및 절대 위치 지정을 사용하여 C#에서 UI의 레이아웃을 지정합니다. |
항목 | 설명 |
---|---|
리스트와 트리 뷰 생성 | ListView, TreeView, MultiColumnListView, MultiColumnTreeView를 사용하여 리스트와 트리 뷰를 생성합니다. |
복합 리스트 뷰 생성 | ListView를 사용하여 캐릭터 리스트가 있는 커스텀 에디터 창을 생성합니다. |
리스트 뷰 런타임 UI 생성 | ListView를 사용하여 간단한 캐릭터 선택 화면 런타임 UI를 생성합니다. |
여러 창 사이에 드래그 앤 드롭 목록 및 트리 뷰 생성 | ListView, TreeView, MultiColumnListView를 사용하여 여러 창 사이에 드래그 앤 드롭 UI를 생성합니다. |
항목 | 설명 |
---|---|
ScrollView 안에 콘텐츠 래핑 | 스타일을 사용하여 스크롤 뷰 안에 콘텐츠를 래핑합니다. |
항목 | 설명 |
---|---|
탭 메뉴 생성 | Label을 사용하여 탭 메뉴를 생성합니다. |
항목 | 설명 |
---|---|
팝업 창 생성 |
UnityEditor.PopupWindow 를 사용하여 팝업 창을 생성합니다. |
항목 | 설명 |
---|---|
Toggle을 사용하여 조건부 UI 생성 | Toggle을 사용하여 에디터 창에 조건부 UI를 생성합니다. |
항목 | 설명 |
---|---|
두 가지 속성을 가진 커스텀 컨트롤 생성 | 두 개의 속성을 가진 간단한 커스텀 컨트롤을 생성하고 커스텀 컨트롤을 UXML과 UI 빌더에 노출합니다. |
슬라이드 토글 커스텀 컨트롤 생성 | “switch-like” 토글 커스텀 컨트롤을 생성합니다. |
라디안 진행 표시기 생성 | 0과 100 사이의 부동 소수점 숫자를 표시하는 커스텀 컨트롤을 생성합니다. |
바인딩 가능한 커스텀 컨트롤 생성 | 이중 데이터 타입으로 프로퍼티에 바인드된 커스텀 컨트롤을 생성합니다. |
커스텀 컨트롤에 대한 커스텀 스타일 생성 | USS에서 두 가지 컬러를 읽고 텍스처를 생성하는 데 사용하는 커스텀 컨트롤을 생성합니다. |
종횡비 커스텀 컨트롤 생성 | 일정 종횡비를 유지하는 커스텀 컨트롤을 생성합니다. |
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.