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

DebugBar Class

This is a MonoBehaviour for the Debug Bar UI panel (the bar on the bottom) of Immersive Debugger.
Containing UI elements of miniButtons, large buttons and the label for startup time. Allow registering buttons and callbacks. For more info about Immersive Debugger, check out the official doc

Protected Functions

virtual override void Setup
( Controller owner )

Member Functions

Registration of the large buttons for toggling different panels.
Will display the Icon from the DebugPanel and toggle its visibility upon clicking the icon on the debug bar.
Parameters
panel
The DebugPanel that is registered on the debug bar
Registration of the mini buttons for performing certain controls.
Parameters
buttonName
String for the name of the button
icon
Texture2D of the icon that's used for displaying the button
callback
Action that's invoked upon clicking the button
Returns
Toggle component of the mini button itself
Exceptions
ArgumentNullException
Throws when any of the parameters is null
Did you find this page helpful?
Thumbs up icon
Thumbs down icon