Tri-Inspector/Editor.Samples/Groups/Groups_HorizontalGroupSample.cs

21 lines
418 B
C#
Raw Normal View History

2022-07-06 08:45:48 -04:00
using TriInspector;
using UnityEngine;
[DeclareHorizontalGroup("vars")]
[DeclareHorizontalGroup("buttons")]
public class Groups_HorizontalGroupSample : ScriptableObject
{
[Group("vars")] public int a;
[Group("vars")] public int b;
[Group("vars")] public int c;
[Button, Group("buttons")]
public void ButtonA()
{
}
[Button, Group("buttons")]
public void ButtonB()
{
}
}