mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 08:18:49 -05:00
17 lines
504 B
C#
17 lines
504 B
C#
using TriInspector;
|
|
using TriInspector.Elements;
|
|
using TriInspector.GroupDrawers;
|
|
using UnityEngine;
|
|
|
|
[assembly: RegisterTriGroupDrawer(typeof(TriHorizontalGroupDrawer))]
|
|
|
|
namespace TriInspector.GroupDrawers
|
|
{
|
|
public class TriHorizontalGroupDrawer : TriGroupDrawer<DeclareHorizontalGroupAttribute>
|
|
{
|
|
public override TriPropertyCollectionBaseElement CreateElement(DeclareHorizontalGroupAttribute attribute)
|
|
{
|
|
return new TriHorizontalGroupElement();
|
|
}
|
|
}
|
|
} |