All Classes Namespaces Functions Variables Enumerations Enumerator Properties
plyCommonEditor.EdToolbar.ToolbarButton Class Reference

A plyGame Toolbar Button. More...

Public Member Functions

delegate void Callback ()
 
void Init ()
 
GUIContent[] PopupContent ()
 

Public Attributes

int order = 0
 The order of the button on the toolbar.
 
GUIContent gui
 The GUIContent should only have the tooltip set.
 
Callback callback
 The callback to call when the button is pressed.
 
string iconPath = null
 Path to the Icon to load and show on the button.
 
List< ToolbarButtonpopup = null
 The buttons to show if this is a popup type toolbar button.
 

Detailed Description

A plyGame Toolbar Button.