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).

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.PointableUnityEventWrapper._started

Fields

WhenCancel : UnityEvent< PointerEvent >
Raised when the IPointable emits a PointerEvent with the PointerEventType.Cancel state.
Signature
UnityEvent<PointerEvent> Oculus.Interaction.PointableUnityEventWrapper.WhenCancel
WhenHover : UnityEvent< PointerEvent >
Raised when the IPointable emits a PointerEvent with the PointerEventType.Hover state.
Signature
UnityEvent<PointerEvent> Oculus.Interaction.PointableUnityEventWrapper.WhenHover
WhenMove : UnityEvent< PointerEvent >
Raised when the IPointable emits a PointerEvent with the PointerEventType.Move state.
Signature
UnityEvent<PointerEvent> Oculus.Interaction.PointableUnityEventWrapper.WhenMove
WhenRelease : UnityEvent< PointerEvent >
Raised when the IPointable emits a PointerEvent with the PointerEventType.Unselect state.
Signature
UnityEvent<PointerEvent> Oculus.Interaction.PointableUnityEventWrapper.WhenRelease
WhenSelect : UnityEvent< PointerEvent >
Raised when the IPointable emits a PointerEvent with the PointerEventType.Select state.
Signature
UnityEvent<PointerEvent> Oculus.Interaction.PointableUnityEventWrapper.WhenSelect
WhenUnhover : UnityEvent< PointerEvent >
Raised when the IPointable emits a PointerEvent with the PointerEventType.Unhover state.
Signature
UnityEvent<PointerEvent> Oculus.Interaction.PointableUnityEventWrapper.WhenUnhover
WhenUnselect : UnityEvent< PointerEvent >
Raised when the IPointable emits a PointerEvent with the PointerEventType.Unselect state.
Signature
UnityEvent<PointerEvent> Oculus.Interaction.PointableUnityEventWrapper.WhenUnselect

Protected Methods

Awake ()
Signature
virtual void Oculus.Interaction.PointableUnityEventWrapper.Awake()
Returns
void
OnDisable ()
Signature
virtual void Oculus.Interaction.PointableUnityEventWrapper.OnDisable()
Returns
void
OnEnable ()
Signature
virtual void Oculus.Interaction.PointableUnityEventWrapper.OnEnable()
Returns
void
Start ()
Signature
virtual void Oculus.Interaction.PointableUnityEventWrapper.Start()
Returns
void

Methods

InjectAllPointableUnityEventWrapper ( pointable )
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.
Signature
void Oculus.Interaction.PointableUnityEventWrapper.InjectAllPointableUnityEventWrapper(IPointable pointable)
Parameters
pointable: IPointable
Returns
void
InjectPointable ( pointable )
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.
Signature
void Oculus.Interaction.PointableUnityEventWrapper.InjectPointable(IPointable pointable)
Parameters
pointable: IPointable
Returns
void