UI 툴킷은 사용자가 UI 툴킷에서 요소와 상호 작용하고 상태를 변경할 때 이벤트를 발생시킵니다. 이벤트 디자인은 HTML 요소를 위한 이벤트 인터페이스와 비슷합니다.
이벤트 타입은 EventBase 클래스를 기반으로 하는 계층 구조에 적합합니다.각 이벤트 패밀리는 같은 패밀리에 속한 모든 이벤트의 공통적인 특성을 정의하는 인터페이스를 구현합니다.예를 들어 BlurEvent
및 FocusEvent
는 FocusEventBase 클래스를 사용합니다.
아래 이벤트 타입을 선택하여 해당 이벤트와 부모 클래스에 관한 자세한 내용 및 API 문서 링크를 확인하십시오.
항목 | 설명 |
---|---|
캡처 이벤트 | UI와의 사용자 상호 작용을 캡처하는 이벤트입니다. |
변경 이벤트 | 사용자가 요소의 상태를 변경할 때 발생하는 이벤트입니다. |
클릭 이벤트 | 사용자가 요소를 클릭할 때 발생하는 이벤트입니다. |
커맨드 이벤트 | 사용자가 커맨드를 호출할 때 발생하는 이벤트입니다. |
드래그 앤 드롭 이벤트 | 사용자가 요소를 드래그 앤 드롭할 때 발생하는 이벤트입니다. |
레이아웃 이벤트 | 레이아웃 엔진이 요소의 레이아웃을 변경할 때 발생하는 이벤트입니다. |
포커스 이벤트 | 사용자가 요소에 포커스를 맞출 때 발생하는 이벤트입니다. |
입력 이벤트 | 사용자가 텍스트를 입력할 때 발생하는 이벤트입니다. |
키보드 이벤트 | 사용자가 키를 누를 때 발생하는 이벤트입니다. |
마우스 이벤트 | 사용자가 마우스를 움직일 때 발생하는 이벤트입니다. |
내비게이션 이벤트 | 사용자가 UI를 통해 탐색할 때 발생하는 이벤트입니다. |
패널 이벤트 | 사용자가 패널과 상호 작용할 때 발생하는 이벤트입니다. |
포인터 이벤트 | 사용자가 포인터 기기와 상호 작용할 때 발생하는 이벤트입니다. |
툴팁 이벤트 | 사용자가 툴팁과 상호 작용할 때 발생하는 이벤트입니다. |
전환 이벤트 | 사용자가 전환과 상호 작용할 때 발생하는 이벤트입니다. |
컨텍스트 메뉴 이벤트 | 사용자가 컨텍스트 메뉴와 상호 작용할 때 발생하는 이벤트입니다. |
IMGUI 이벤트 | 사용자가 IMGUI 요소와 상호 작용할 때 발생하는 이벤트입니다. |
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.