InputEvent
命名空间:FairyGUI
源码:Assets/Scripts/Event/InputEvent.cs (行 12)
public class InputEvent
构造函数
InputEvent()
public InputEvent();
源码:Event/InputEvent.cs (行 66)
属性
alt
public bool alt { get; }
源码:Event/InputEvent.cs (行 140)
button
public int button { get; internal set; }
-1-none,0-left,1-right,2-middle
源码:Event/InputEvent.cs (行 52)
character
public char character { get; internal set; }
源码:Event/InputEvent.cs (行 32)
clickCount
public int clickCount { get; internal set; }
源码:Event/InputEvent.cs (行 58)
command
public bool command { get; }
源码:Event/InputEvent.cs (行 156)
ctrl
public bool ctrl { get; }
源码:Event/InputEvent.cs (行 108)
ctrlOrCmd
public bool ctrlOrCmd { get; }
源码:Event/InputEvent.cs (行 97)
holdTime
public float holdTime { get; internal set; }
Duraion of holding the button. You can read this in touchEnd or click event.
源码:Event/InputEvent.cs (行 64)
isDoubleClick
public bool isDoubleClick { get; }
源码:Event/InputEvent.cs (行 89)
keyCode
public KeyCode keyCode { get; internal set; }
源码:Event/InputEvent.cs (行 27)
modifiers
public EventModifiers modifiers { get; internal set; }
源码:Event/InputEvent.cs (行 37)
mouseWheelDelta
public float mouseWheelDelta { get; internal set; }
源码:Event/InputEvent.cs (行 42)
position
public Vector2 position { get; }
源码:Event/InputEvent.cs (行 81)
shift
public bool shift { get; }
源码:Event/InputEvent.cs (行 124)
touchId
public int touchId { get; internal set; }
源码:Event/InputEvent.cs (行 47)
x
public float x { get; internal set; }
x position in stage coordinates.
源码:Event/InputEvent.cs (行 17)
y
public float y { get; internal set; }
y position in stage coordinates.
源码:Event/InputEvent.cs (行 22)