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

PointerHandler Class

Extends UIBehaviour, IPointerClickHandler, IPointerEnterHandler, IPointerExitHandler
This is a MonoBehaviour for responsible as handler for pointer events.
Used by all the interactable UI elements of Immersive Debugger. For more info about Immersive Debugger, check out the official doc

Properties

[Get][Set]
The corresponding InteractableController that's used to handle pointer events.
This is the UI elements that's receiving the pointer events.
Signature
InteractableController Controller

Methods

OnPointerClick ( eventData )
Implementation of the IPointerClickHandler that's receiving the pointer click events and forwarding to InteractableController's corresponding function in this class.
Signature
void OnPointerClick(PointerEventData eventData)
Parameters
eventData: PointerEventData  The pointer event data from the click event
Returns
void
OnPointerEnter ( eventData )
Implementation of the IPointerEnterHandler that's receiving the pointer enter events and forwarding to InteractableController's corresponding function in this class.
Signature
void OnPointerEnter(PointerEventData eventData)
Parameters
eventData: PointerEventData  The pointer event data from the enter event
Returns
void
OnPointerExit ( eventData )
Implementation of the IPointerExitHandler that's receiving the pointer exit events and forwarding to InteractableController's corresponding function in this class.
Signature
void OnPointerExit(PointerEventData eventData)
Parameters
eventData: PointerEventData  The pointer event data from the exit event
Returns
void