[Button]

Attribute used for displaying a method as a clickable button.

Examples

[Button]
public void ClickMe()
{
    Debug.Log("Button Clicked!");
}