Version 2.1.0.0

MemberDefinedAttributeProcessor class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
[ResolverPriority(100000)]
public class MemberDefinedAttributeProcessor : OdinAttributeProcessor, IHideObjectMembers
Finds all attributes attached to the specified member and adds to them to attribute list.
Inheritance

Constructors

MemberDefinedAttributeProcessor()
public MemberDefinedAttributeProcessor()

Methods

CanProcessSelfAttributes(InspectorProperty)
This attribute processor can only process for members.
public override bool CanProcessSelfAttributes(InspectorProperty property)
Parameters
InspectorProperty property

The property to process.

Returns
System.Boolean

false.

ProcessChildMemberAttributes(InspectorProperty, MemberInfo, List<Attribute>)
Finds all attributes attached to the specified member and adds to them to the attributes list.
public override void ProcessChildMemberAttributes(InspectorProperty parentProperty, MemberInfo member, List<Attribute> attributes)
Parameters
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.