InputHelper
ZEPETO.Character.Controller.InputHelper
Utility class designed to assist with input handling.
Hierarchy
↳
InputHelper
Constructors
constructor
• new InputHelper()
Inherited from
System.Object.constructor
Methods
IsPointerOverUIObject
▸ Static
IsPointerOverUIObject($position
): boolean
Checks if the specified position on the screen is over a UI element.
Parameters
Name | Type | Description |
---|---|---|
$position | Vector2 | Position on the screen. |
Returns
boolean
Returns true
if the position is over a UI object.
IsPointerOverUIObjectCurrentPosition
▸ Static
IsPointerOverUIObjectCurrentPosition(): boolean
Determines if the pointer is currently over a UI object.
Returns
boolean
Returns true
if the pointer is over a UI object.