Tri-Inspector/Editor.Extras/GroupDrawers/TriBoxGroupDrawer.cs
2022-11-13 15:30:30 +04:00

16 lines
465 B
C#

using TriInspector;
using TriInspector.Elements;
using TriInspector.GroupDrawers;
[assembly: RegisterTriGroupDrawer(typeof(TriBoxGroupDrawer))]
namespace TriInspector.GroupDrawers
{
public class TriBoxGroupDrawer : TriGroupDrawer<DeclareBoxGroupAttribute>
{
public override TriPropertyCollectionBaseElement CreateElement(DeclareBoxGroupAttribute attribute)
{
return new TriBoxGroupElement(attribute.Title);
}
}
}