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

ButtonWithIcon Class

Extends Button
This is a MonoBehaviour used for Button UI element that is represented by an Image icon.
Used by multiple controls UI in the in-headset panels in Immersive Debugger. For more info about Immersive Debugger, check out the official doc

Protected Fields

Icon _icon[Get]
Background _background[Get]
ImageStyle _backgroundStyle[Get]
ImageStyle _iconStyle[Get]

Properties

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 of the icon, similar to background can specify detailed properties.
Upon setting the style, a refresh of the style would be invoked to reflect in UI.
The texture used for the icon.

Protected Functions

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