Setup
(
owner
)
|
RegisterControl
(
buttonName
, icon
, callback
)
|
Registration of the mini buttons for performing certain controls.
Signature
Toggle RegisterControl(string buttonName, Texture2D icon, Action callback) Parameters buttonName: stringÂ
String for the name of the button
icon: Texture2DÂ
Texture2D of the icon that's used for displaying the button
callback: ActionÂ
Action that's invoked upon clicking the button
Throws ArgumentNullExceptionÂ
Throws when any of the parameters is null
|
RegisterPanel
(
panel
)
|
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.
Signature
void RegisterPanel(DebugPanel panel) Parameters Returns void |