Button Group Attribute

ButtonGroup is used on any instance function, and adds buttons to the inspector organized into horizontal groups. Use this to organize multiple button in a tidy horizontal group.

[ButtonGroup]
private void A()
{
}

[ButtonGroup]
private void B()
{
}

[ButtonGroup]
private void C()
{
}

[ButtonGroup]
private void D()
{
}

[Button(ButtonSizes.Large)]
[ButtonGroup("My Button Group")]
private void E()
{
}

[GUIColor(0, 1, 0)]
[ButtonGroup("My Button Group")]
private void F()
{
}

[BoxGroup("Titles", ShowLabel = false)]
[TitleGroup("Titles/First Title")]
public int A;

[BoxGroup("Titles/Boxed")]
[TitleGroup("Titles/Boxed/Second Title")]
public int B;

[TitleGroup("Titles/Boxed/Second Title")]
public int C;

[TitleGroup("Titles/Horizontal Buttons")]
[ButtonGroup("Titles/Horizontal Buttons/Buttons")]
public void FirstButton() { }

[ButtonGroup("Titles/Horizontal Buttons/Buttons")]
public void SecondButton() { }