Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates an inspector drawer registration.

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

public InnoEditor.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.