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

ButtonWithLabel Class

Extends Button
This is a MonoBehaviour used for Button UI element that is represented by a label text.
Used by mainly the debug data's action button UI in the in-headset Inspector panel in Immersive Debugger. For more info about Immersive Debugger, check out the official doc

Protected Fields

Label _label[Get]
Background _background[Get]
ImageStyle _backgroundStyle[Get]

Properties

The background of the button.
The style of the background, can specify the detailed properties such as sprite and pixel density multiplier.
Upon setting the style, a refresh of the style would be invoked to reflect in UI.
The style (including alignment, color, font) of the text that is being displayed on top of the button UI.
The layout style (used for margins and sizing) of the text that is being displayed on top of the button UI.
String of the label text that is being displayed on top of the button UI.

Protected Functions

virtual override void Setup
( Controller owner )
virtual override void OnHoverChanged ( )
void RefreshStyle ( )
virtual override void OnTransparencyChanged ( )
virtual void UpdateBackground ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon