NGUI: Next-Gen UI kit
3.7.2
|
Ambiguous mouse, touch, or controller event. More...
Public Attributes | |
Vector2 | pos |
Vector2 | lastPos |
Vector2 | delta |
Vector2 | totalDelta |
Camera | pressedCam |
GameObject | last |
GameObject | current |
GameObject | pressed |
GameObject | dragged |
float | clickTime = 0f |
ClickNotification | clickNotification = ClickNotification.Always |
bool | touchBegan = true |
bool | pressStarted = false |
bool | dragStarted = false |
Properties | |
bool | isOverUI [get] |
Returns whether this touch is currently over a UI element. More... | |
Ambiguous mouse, touch, or controller event.
ClickNotification UICamera.MouseOrTouch.clickNotification = ClickNotification.Always |
float UICamera.MouseOrTouch.clickTime = 0f |
GameObject UICamera.MouseOrTouch.current |
Vector2 UICamera.MouseOrTouch.delta |
GameObject UICamera.MouseOrTouch.dragged |
bool UICamera.MouseOrTouch.dragStarted = false |
GameObject UICamera.MouseOrTouch.last |
Vector2 UICamera.MouseOrTouch.lastPos |
Vector2 UICamera.MouseOrTouch.pos |
GameObject UICamera.MouseOrTouch.pressed |
Camera UICamera.MouseOrTouch.pressedCam |
bool UICamera.MouseOrTouch.pressStarted = false |
Vector2 UICamera.MouseOrTouch.totalDelta |
bool UICamera.MouseOrTouch.touchBegan = true |
|
get |
Returns whether this touch is currently over a UI element.