FairyGUI.InputEvent
class FairyGUI.InputEvent
Fields and Properties:
float x
- Description: x position in stage coordinates.
float y
- Description: y position in stage coordinates.
UnityEngine.KeyCode keyCode
- Description:
char character
- Description:
EventModifiers modifiers
- Description:
float mouseWheelDelta
- Description:
int touchId
- Description:
int button
- Description: -1-none,0-left,1-right,2-middle
int clickCount
- Description:
float holdTime
- Description: Duraion of holding the button. You can read this in touchEnd or click event.
UnityEngine.Vector2 position
- Description:
bool isDoubleClick
- Description:
bool ctrlOrCmd
- Description:
bool ctrl
- Description:
bool shift
- Description:
bool alt
- Description:
bool command
- Description:
Constructors:
FairyGUI.InputEvent.New()