UI 빌더 내 Canvas에서 바로 UI를 테스트하려면 Viewport 툴바에서 미리보기 모드를 활성화하십시오. 미리보기 모드는 UI 빌더별 선택 오버레이를 제거하고 Canvas에서 처리합니다. Viewport 전체에 주황색 테두리가 표시되면 미리보기 모드가 실행 중인 것입니다.
미리보기 모드가 활성화되면 Canvas의 UI 문서(UXML) 요소가 입력 이벤트를 수신하기 시작합니다. 이에 따라 다음을 테스트할 수 있습니다.
Foldout
과 같은 상태 기반 컨트롤. 이러한 컨트롤을 클릭하여 펼친 다음 UI 재설정에 대한 반응을 확인할 수 있습니다.IntegerField
와 같은 입력 필드ScrollView
와 같은 큰 컨테이너:hover
유사 상태미리보기 모드에서도 StyleSheets 창, 계층 구조 창 및 인스펙터에서 UI 문서(UXML)와 StyleSheet를 계속 수정할 수 있습니다. 미리보기 모드에서는 Canvas 선택 및 매니퓰레이터가 꺼집니다.
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.