HomeGuides
HomeGuidesLearn about the Immerse SDK installerLog In

The Button prefab provides a styled example of a button, including the required components for theming.

535535

Text button

As this prefab simply makes use of Unity's Button component, it has all the settings and events that you would expect.

A variant of the Button prefab is also available, making use of an icon in place of text.

404404

Icon button

If the project also contains the Interaction package, an enhanced 3d/physical button is also made available, providing the user with a more immersive experience.

Latching Buttons

Also included with the UI package are 'latching' variants of each button type. The buttons are visually the same as other buttons, but with the behaviour of a Toggle.

These variants make implement Unity's Toggle component, which means they can be used as part of a Toggle Group.