Tri-Inspector/Editor/TriCustomDrawer.cs

23 lines
556 B
C#
Raw Normal View History

using JetBrains.Annotations;
namespace TriInspector
2021-12-07 10:20:36 -05:00
{
public abstract class TriCustomDrawer
{
internal int Order { get; set; }
2022-01-09 11:24:45 -05:00
internal bool ApplyOnArrayElement { get; set; }
2021-12-07 10:20:36 -05:00
[PublicAPI]
public virtual void Initialize(TriPropertyDefinition propertyDefinition)
{
}
[PublicAPI]
public virtual string CanDraw(TriProperty property)
{
return null;
}
2021-12-07 10:20:36 -05:00
public abstract TriElement CreateElementInternal(TriProperty property, TriElement next);
}
}