C# Class FullInspector.CustomPropertyEditorAttribute

Inheritance: System.Attribute
Mostra file Open project: jacobdufault/fullinspector

Public Properties

Property Type Description
DisableErrorOnUnityObject bool
Inherit bool
PropertyType System.Type

Public Methods

Method Description
CustomPropertyEditorAttribute ( Type propertyType ) : System

Mark this type as an IPropertyEditor. It will be instantiated automatically.

CustomPropertyEditorAttribute ( Type propertyType, bool inherit ) : System

Mark this type as an IPropertyEditor. It will be instantiated automatically.

Method Details

CustomPropertyEditorAttribute() public method

Mark this type as an IPropertyEditor. It will be instantiated automatically.
public CustomPropertyEditorAttribute ( Type propertyType ) : System
propertyType System.Type /// The type of property that this PropertyEditor is editing. ///
return System

CustomPropertyEditorAttribute() public method

Mark this type as an IPropertyEditor. It will be instantiated automatically.
public CustomPropertyEditorAttribute ( Type propertyType, bool inherit ) : System
propertyType System.Type /// The type of property that this PropertyEditor is editing. ///
inherit bool /// If true, then this PropertyEditor will also be used for types that /// derive from propertyType. If true, then this also has implications on /// the generic parameter list. See the documentation on the member /// variable for more information. ///
return System

Property Details

DisableErrorOnUnityObject public_oe property

Internal bool to prevent a warning emission if this property editor targets UnityObject types.
public bool DisableErrorOnUnityObject
return bool

Inherit public_oe property

Should this editor type be used for inherited PropertyTypes? If Inherit is true, then the first generic parameter of your property editor type will be automatically populated with the derived type that the property editor is being used to edit.
public bool Inherit
return bool

PropertyType public_oe property

The type of property that this class is a property editor for. This can be either a non-generic type or an open generic type (List{} is an open generic type, but List[int] is not).
public Type,System PropertyType
return System.Type