Synced
PropertyDrawerAttribute.Constructor
Section titled “PropertyDrawerAttribute.Constructor”
- Creates a property drawer registration.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Inspection
Declaration
Section titled “Declaration”public Inno.Editor.Inspection.PropertyDrawerAttribute.PropertyDrawerAttribute(System.Type targetType, bool useForChildren = false, int priority = 0)Parameters
Section titled “Parameters”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.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when targetType is null.