Version: 5.6

EventType

enumeration

매뉴얼로 전환

설명

Types of UnityGUI input and processing events.

변수

MouseDownMouse button was pressed.
MouseUpMouse button was released.
MouseMoveMouse was moved (Editor views only).
MouseDragMouse was dragged.
KeyDownA keyboard key was pressed.
KeyUpA keyboard key was released.
ScrollWheelThe scroll wheel was moved.
RepaintA repaint event. One is sent every frame.
LayoutA layout event.
DragUpdatedEditor only: drag & drop operation updated.
DragPerformEditor only: drag & drop operation performed.
DragExitedEditor only: drag & drop operation exited.
Ignore Event should be ignored.
UsedAlready processed event.
ValidateCommandValidates a special command (e.g. copy & paste).
ExecuteCommandExecute a special command (eg. copy & paste).
ContextClickUser has right-clicked (or control-clicked on the mac).
MouseEnterWindowMouse entered a window (Editor views only).
MouseLeaveWindowMouse left a window (Editor views only).