Version: 2017.2

EventType

enumeration

Cambiar al Manual

Descripción

Types of UnityGUI input and processing events.

Variables

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).