Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a property drawer registration.

API: engine
Project: Inno.Editor.Inspection

public Inno.Editor.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.