InheritAttributeAttributesAttributeProcessor

This attribute processor will take any attribute already applied to the property with the IncludeMyAttributesAttribute applied to, and take all attributes applied to the attribute (except any AttributeUsageAttribute) and add to them to the property. This allows for adding attributes to attributes in the property system.

namespace Sirenix.OdinInspector.Editor.Resolvers
{
[Sirenix.OdinInspector.Editor.ResolverPriorityAttribute(-100000)]
public class InheritAttributeAttributesAttributeProcessor : Sirenix.OdinInspector.Editor.OdinAttributeProcessor
}

Requirements

Namespace: Sirenix.OdinInspector.Editor.Resolvers
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

Methods

Return Type Definition Description
void ProcessChildMemberAttributes(InspectorProperty, MemberInfo, List<Attribute>) Looks for attributes in the attributes list with a IncludeMyAttributesAttribute applied, and adds the attribute from those attributes to the property.