JUtils
A unity utilities library
|
Attach this button to a method to make it clickable in the inspector. This attribute will also draw parameters if it can. More...
Public Member Functions | |
ButtonAttribute ([CanBeNull] string name=null, bool clickableInEditor=false) | |
Create an inspector button for this atribute More... | |
Public Attributes | |
readonly string | name |
bool | clickableInEditor |
Attach this button to a method to make it clickable in the inspector. This attribute will also draw parameters if it can.
|
inline |
Create an inspector button for this atribute
name | The name of the button |
clickableInEditor | Should the button only run in playmode |
References JUtils.ButtonAttribute.clickableInEditor, and JUtils.ButtonAttribute.name.
bool JUtils.ButtonAttribute.clickableInEditor |
readonly string JUtils.ButtonAttribute.name |