Collapse Sidebar


Click fires when the PluginToolbarButton is pressed and released by the user.

Clicking a PluginToolbarButton causes the state of the button to toggle. Call PluginToolbarButton/SetActive|SetActive to manually set the state of the button.

Code Samples


This code sample demonstrates creating a PluginToolbar and a PluginToolbarButton on it, then connecting a function onClick to the PluginToolbarButton/Click event. When pressed, the button will print “Hello, world” to the output.