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

PointableUnityEventWrapper Class

Extends MonoBehaviour
Exposes Unity pointer events that broadcast pointer events from an IPointable component (ex.
a poke interactable on a button).

Fields

Raised when the IPointable emits a PointerEvent with the PointerEventType.Unselect state.
Raised when the IPointable emits a PointerEvent with the PointerEventType.Hover state.
Raised when the IPointable emits a PointerEvent with the PointerEventType.Unhover state.
Raised when the IPointable emits a PointerEvent with the PointerEventType.Select state.
Raised when the IPointable emits a PointerEvent with the PointerEventType.Unselect state.
Raised when the IPointable emits a PointerEvent with the PointerEventType.Move state.
Raised when the IPointable emits a PointerEvent with the PointerEventType.Cancel state.

Protected Fields

bool _started[Get]

Protected Functions

virtual void Awake ( )
virtual void Start ( )
virtual void OnEnable ( )
virtual void OnDisable ( )

Member Functions

Injects all required dependencies for a dynamically instantiated PointableUnityEventWrapper.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the underlying IPointable for a dynamically instantiated PointableUnityEventWrapper.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon