Tri-Inspector/Editor/TriCustomDrawer.cs
2022-05-21 11:17:47 +03:00

23 lines
557 B
C#

using JetBrains.Annotations;
namespace TriInspector
{
public abstract class TriCustomDrawer
{
internal int Order { get; set; }
internal bool? ApplyOnArrayElement { get; set; }
[PublicAPI]
public virtual void Initialize(TriPropertyDefinition propertyDefinition)
{
}
[PublicAPI]
public virtual string CanDraw(TriProperty property)
{
return null;
}
public abstract TriElement CreateElementInternal(TriProperty property, TriElement next);
}
}