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 |