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

Button Class

This is a MonoBehaviour used for generic Button UI element.
Normally serves as the base component for more specific functioned buttons in Immersive Debugger. Contains logic for handling events with Callback and a standard pattern of haptics (HapticsClip is played upon hovering). For more info about Immersive Debugger, check out the official doc

Properties

static OVRHapticsClip HapticsClip[Get]
The callback that is invoked upon clicking the button UI (from the overriden OnPointerClick function).

Member Functions

The overriden function from the PointerHandler ancestor class.
Invoking the Callback within the same class.

Protected Functions

virtual override void OnHoverChanged ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon