Tri-Inspector/Editor/TriCustomDrawer.cs

23 lines
557 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-05-21 04:17:47 -04: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);
}
}