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

InteractableController Class

Extends Controller
This is a MonoBehaviour served as the base element of any interactable UI elements of Immersive Debugger.
Manages the pointer handler and hover states of the UI element, and providing a helper function to play haptics by inherited classes. For more info about Immersive Debugger, check out the official doc

Properties

bool Hover[Get]

Protected Functions

virtual override void Setup
( Controller owner )
virtual void OnHoverChanged ( )
virtual void OnDisable ( )
void PlayHaptics
( OVRHapticsClip hapticsClip )

Member Functions

The function that is called by the PointerHandler when the pointer enters into the UI component.
The function that is called by the PointerHandler when the pointer exits from the UI component.
The function that is called by the PointerHandler when the pointer clicked onto the UI component.
Expect to be overriden by inherited classes.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon