Version 3.3.1.2

DefaultOdinPropertyResolverLocator class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public class DefaultOdinPropertyResolverLocator : OdinPropertyResolverLocator
Default implementation and the version that will be used by PropertyTree if no other OdinPropertyResolver instance have been specified.
Inheritance

Constructors

DefaultOdinPropertyResolverLocator()
public DefaultOdinPropertyResolverLocator()

Fields

Instance
Singleton instance of DefaultOdinPropertyResolverLocator.
public static readonly DefaultOdinPropertyResolverLocator Instance
SearchIndex
public static readonly TypeSearchIndex SearchIndex

Methods

GetEmptyResolverInstance(Type)
public OdinPropertyResolver GetEmptyResolverInstance(Type resolverType)
Parameters
System.Type resolverType

GetResolver(InspectorProperty)
Gets an OdinPropertyResolver instance for the specified property.
public override OdinPropertyResolver GetResolver(InspectorProperty property)
Parameters
InspectorProperty property

The property to get an OdinPropertyResolver instance for.

Returns
OdinPropertyResolver

An instance of OdinPropertyResolver to resolver the specified property.