mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 08:18:49 -05:00
21 lines
487 B
C#
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()
|
|
{
|
|
}
|
|
} |