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