|
UnityEngine.Event | unityEvent |
| The source Unity event if there is one. More...
|
|
InputPointer | trigger |
| The pointer that triggered this event. More...
|
|
EventTarget | relatedTarget |
| A related target, if there is one. More...
|
|
void | SetTrusted () |
|
void | SetTrusted (bool bubbles) |
|
string | EventType |
| The type of this event. Only set if you directly use the UIEvent(type) constructor. See type instead. More...
|
|
bool | _Cancelled |
| True if this event has been cancelled via preventDefault. More...
|
|
bool | _CancelImmediate |
| True if this has been immediately cancelled. More...
|
|
bool | _IsTrusted |
| True if this was created by the UA. Use isTrusted. More...
|
|
bool | repeat [get] |
| True if this event is repeating. More...
|
|
string | code [get] |
| The keycode as text. More...
|
|
string | key [get] |
| The keycode. More...
|
|
bool | modifierFn [get] |
| Is this an fn button? More...
|
|
bool | capsLock [get] |
| Is caps lock on? More...
|
|
bool | metaKey [get] |
| Is a meta key (Windows key/ the Mac key etc) down? More...
|
|
bool | altKey [get] |
| Is an alt key down? More...
|
|
bool | ctrlKey [get] |
| Is a control key down? More...
|
|
bool | shiftKey [get] |
| Is a shift key down? More...
|
|
PowerUI.Window | view [get] |
| The view the event came from. More...
|
|
HtmlElement | htmlTarget [get] |
| A convenience shortcut to save casting 'target' to a HtmlElement. It's like this because SVG can also generate events. More...
|
|
KeyCode | unityKeyCode [get] |
| Gets the keycode as a UnityEngine.KeyCode. More...
|
|
bool | leftMouseDown [get] |
| Is the left mouse button currently down? More...
|
|
bool | rightMouseDown [get] |
| Is the right mouse button currently down? More...
|
|
virtual int | which [get] |
|
HtmlDocument | htmlDocument [get] |
| The HTML document that this event has come from, if any. More...
|
|
WorldUI | worldUI [get] |
| The WorldUI that this event has come from, if any. More...
|
|
float | relativeX [get] |
| A 0-1 value of where this event occured relative to the target element. 0 is left edge, 1 is right edge. More...
|
|
float | relativeY [get] |
| A 0-1 value of where this event occured relative to the target element. 0 is top edge, 1 is bottom edge. More...
|
|
double | x [get] |
| Alias for clientX. More...
|
|
double | y [get] |
| Alias for clientY. More...
|
|
double | offsetX [get] |
| X Position relative to the parent. More...
|
|
double | offsetY [get] |
| Y Position relative to the parent. More...
|
|
float | localX [get] |
| The position of the event relative to the top left corner of the target element in pixels. More...
|
|
float | localY [get] |
| The position of the event relative to the top left corner of the target element in pixels. More...
|
|