Namespace: | Sirenix.OdinInspector.Editor |
Assembly: | Sirenix.OdinInspector.Editor |
public abstract class OdinAttributeProcessor : IHideObjectMembers
protected OdinAttributeProcessor()
public virtual bool CanProcessChildMemberAttributes(InspectorProperty parentProperty, MemberInfo member)
InspectorProperty | parentProperty | The parent property of the member. |
System.Reflection.MemberInfo | member | The member to be processed. |
System.Boolean |
|
public virtual bool CanProcessSelfAttributes(InspectorProperty property)
InspectorProperty | property | The property to process. |
System.Boolean |
|
public static OdinAttributeProcessor Create(Type processorType)
System.Type | processorType | The type of processor to instanciate. The type must inherit from OdinAttributeProcessor. |
OdinAttributeProcessor | A new instance of the specified type. |
public virtual void ProcessChildMemberAttributes(InspectorProperty parentProperty, MemberInfo member, List<Attribute> attributes)
InspectorProperty | parentProperty | The parent property of the specified member. |
System.Reflection.MemberInfo | member | The member to process attributes for. |
System.Collections.Generic.List<System.Attribute> | attributes | The current attributes applied to the property. |
public virtual void ProcessSelfAttributes(InspectorProperty property, List<Attribute> attributes)
InspectorProperty | property | The property to process attributes for. |
System.Collections.Generic.List<System.Attribute> | attributes | The current attributes applied to the property. |