API reference
API reference
Select your platform
No SDKs available
No versions available

PointableCanvasEventArgs Class

Arguments from events emitted by PointableCanvasModule containing data about the state of the event system.

Fields

The canvas that's being interacted with.
The GameObject that's being hovered, if any.
Whether the user is dragging at the time of this event.
Corresponds to PointerEventData.dragging
Gets the unique identifier for the pointer that triggered the event

Constructors & Destructors

Parameters
canvas
The canvas that's being interacted with.
hovered
The GameObject that's being hovered, if any.
dragging
Whether the user is dragging at the time of this event.
pointerId
Unique identifier for the pointer that triggered the event
Did you find this page helpful?