Click or drag to resize

PointerUtils Class

Utility methods to work with Pointers.
Inheritance Hierarchy
SystemObject
  TouchScript.UtilsPointerUtils

Namespace:  TouchScript.Utils
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static class PointerUtils

The PointerUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberButtonsToString(PointerPointerButtonState)
Formats the state of buttons as a string.
Public methodStatic memberButtonsToString(PointerPointerButtonState, StringBuilder)
Formats the state of buttons as a string.
Public methodStatic memberDownPressedButtons
Adds pressed state to downed buttons.
Public methodStatic memberIsPointerOnTarget(Pointer)
Determines whether the pointer is over its target GameObject.
Public methodStatic memberIsPointerOnTarget(IPointer, Transform)
Determines whether the pointer is over a specific GameObject.
Public methodStatic memberIsPointerOnTarget(IPointer, Transform, HitData)
Determines whether the pointer is over a specific GameObject.
Public methodStatic memberPressDownButtons
Adds downed state to pressed buttons.
Public methodStatic memberPressedButtonsToString(PointerPointerButtonState)
Formats currently pressed buttons as a string.
Public methodStatic memberPressedButtonsToString(PointerPointerButtonState, StringBuilder)
Formats currently pressed buttons as a string.
Public methodStatic memberUpPressedButtons
Converts pressed buttons to up state.
Top
See Also