Immerse

World Space Button

A Unity UI Button that can be pressed with the controller's index finger.

Description

A Unity UI Button that can be pressed with the controller's index finger.

How to implement

  1. Set up a World Space Button as normal in Unity.
  • Add a Collider to the UI button and adjust it to the size of the button
  • Add a World Space Button component to the UI button

Options

Button Events to trigger

Choose which of the Unity button events are triggered when a VR user taps the button - options are Trigger Pointer Down[ ], Trigger Click[ ], Trigger Pointer Up[ ]

Minimum delay between presses

Used to determine how quickly a button can be pressed after a previous button has been pressed. Useful for minimising the chances of a button accidently being pressed, after a screen transition.

Unity Editor Component

📘

Immerse SDK

Learn more ImmerseSDK.UI.WorldSpaceButton class in ImmerseSDK.Interaction namespace

Updated 4 months ago


World Space Button


A Unity UI Button that can be pressed with the controller's index finger.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.