mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 08:18:49 -05:00
30 lines
692 B
C#
30 lines
692 B
C#
using TriInspector;
|
|
using UnityEngine;
|
|
|
|
[DeclareBoxGroup("box", Title = "Box")]
|
|
[DeclareHorizontalGroup("box/horizontal")]
|
|
[DeclareBoxGroup("box/horizontal/one", Title = "One")]
|
|
[DeclareBoxGroup("box/horizontal/two", Title = "Two")]
|
|
[DeclareBoxGroup("box/three", Title = "Three")]
|
|
public class Groups_BoxGroup_StackedSample : ScriptableObject
|
|
{
|
|
[Button(ButtonSizes.Large), Group("box/horizontal/one")]
|
|
public void ButtonA()
|
|
{
|
|
}
|
|
|
|
[Button(ButtonSizes.Large), Group("box/horizontal/two")]
|
|
public void ButtonB()
|
|
{
|
|
}
|
|
|
|
[Button, Group("box/three")]
|
|
public void ButtonC()
|
|
{
|
|
}
|
|
|
|
[Button, Group("box/three")]
|
|
public void ButtonD()
|
|
{
|
|
}
|
|
} |