Tri-Inspector/Editor.Extras/GroupDrawers/TriHorizontalGroupDrawer.cs
2022-01-15 18:06:45 +03:00

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();
}
}
}