Version 3.3.0.1

OdinAttributeProcessorLocator class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public abstract class OdinAttributeProcessorLocator
Base class definition for OdinAttributeProcessorLocator. Responsible for finding and creating OdinAttributeProcessor instances to process attributes for properties. Default OdinAttributeProcessorLocator have been implemented as DefaultOdinAttributeProcessorLocator.
Inheritance
  • System.Object
  • OdinAttributeProcessorLocator

Constructors

OdinAttributeProcessorLocator()
protected OdinAttributeProcessorLocator()

Methods

GetChildProcessors(InspectorProperty, MemberInfo)
Gets a list of OdinAttributeProcessor to process attributes for the specified child member of the parent property.
public abstract 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 abstract 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.