Version 2.1.0.0

DefaultOdinAttributeProcessorLocator class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public sealed class DefaultOdinAttributeProcessorLocator : OdinAttributeProcessorLocator
Default implementation and the version that will be used when no other OdinAttributeProcessorLocator instance have been given to a PropertyTree. This implementation will find all AttributeProcessor definitions not marked with the OdinDontRegisterAttribute.
Inheritance

Constructors

DefaultOdinAttributeProcessorLocator()
public DefaultOdinAttributeProcessorLocator()

Fields

Instance
Singleton instance of the DefaultOdinAttributeProcessorLocator class.
public static readonly DefaultOdinAttributeProcessorLocator Instance
SearchIndex
Type search index used for matching OdinAttributeProcessor to properties.
public static readonly TypeSearchIndex SearchIndex

Methods

GetChildProcessors(InspectorProperty, MemberInfo)
Gets a list of OdinAttributeProcessor to process attributes for the specified child member of the parent property.
public override List<OdinAttributeProcessor> GetChildProcessors(InspectorProperty parentProperty, MemberInfo member)
Parameters
InspectorProperty parentProperty

The parent of the member.

System.Reflection.MemberInfo member

Child member of the parent property.

Returns
System.Collections.Generic.List<OdinAttributeProcessor>

List of OdinAttributeProcessor to process attributes for the specified member.

GetSelfProcessors(InspectorProperty)
Gets a list of OdinAttributeProcessor to process attributes for the specified property.
public override List<OdinAttributeProcessor> GetSelfProcessors(InspectorProperty property)
Parameters
InspectorProperty property

The property to find attribute porcessors for.

Returns
System.Collections.Generic.List<OdinAttributeProcessor>

List of OdinAttributeProcessor to process attributes for the speicied member.

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.