Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates an inspector drawer registration.

API: engine
Project: Inno.Editor.Inspection

public Inno.Editor.Inspection.InspectionDrawerAttribute.InspectionDrawerAttribute(System.Type targetType, bool useForChildren = false, int priority = 0, bool conditional = false)

Parameter targetType: The selected object type handled by the drawer.

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

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

Parameter conditional: Whether CanInspect is a target-dependent predicate. Equally specific accepted peers remain an explicit ambiguity error.

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