PointerUtils Class |
Namespace: TouchScript.Utils
public static class PointerUtils
The PointerUtils type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | ButtonsToString(PointerPointerButtonState) |
Formats the state of buttons as a string.
|
![]() ![]() | ButtonsToString(PointerPointerButtonState, StringBuilder) |
Formats the state of buttons as a string.
|
![]() ![]() | DownPressedButtons |
Adds pressed state to downed buttons.
|
![]() ![]() | IsPointerOnTarget(Pointer) |
Determines whether the pointer is over its target GameObject.
|
![]() ![]() | IsPointerOnTarget(IPointer, Transform) |
Determines whether the pointer is over a specific GameObject.
|
![]() ![]() | IsPointerOnTarget(IPointer, Transform, HitData) |
Determines whether the pointer is over a specific GameObject.
|
![]() ![]() | PressDownButtons |
Adds downed state to pressed buttons.
|
![]() ![]() | PressedButtonsToString(PointerPointerButtonState) |
Formats currently pressed buttons as a string.
|
![]() ![]() | PressedButtonsToString(PointerPointerButtonState, StringBuilder) |
Formats currently pressed buttons as a string.
|
![]() ![]() | UpPressedButtons |
Converts pressed buttons to up state.
|