Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates a property drawer registration.

API: scripting
Project: Inno.Editor.Inspection
Scope: Editor

public InnoEditor.Inspection.PropertyDrawerAttribute.PropertyDrawerAttribute(System.Type targetType, bool useForChildren = false, int priority = 0)

Parameter targetType: The declared serialized property type handled by the drawer.

Parameter useForChildren: Whether the drawer may handle assignable derived property types.

Parameter priority: The tie-breaking priority after exactness and inheritance distance.

Exception T:System.ArgumentNullException: Thrown when targetType is null.