Tri-Inspector/Editor.Samples/Groups/Groups_VerticalGroupSample.cs
2022-07-06 15:50:54 +03:00

21 lines
487 B
C#

using TriInspector;
using UnityEngine;
[DeclareHorizontalGroup("horizontal")]
[DeclareVerticalGroup("horizontal/vars")]
[DeclareVerticalGroup("horizontal/buttons")]
public class Groups_VerticalGroupSample : ScriptableObject
{
[Group("horizontal/vars")] public float a;
[Group("horizontal/vars")] public float b;
[Button, Group("horizontal/buttons")]
public void ButtonA()
{
}
[Button, Group("horizontal/buttons")]
public void ButtonB()
{
}
}