Version 2.1.0.0

DrawerUtilities class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public static class DrawerUtilities
Inheritance
  • System.Object
  • DrawerUtilities

Fields

SearchIndex
public static readonly TypeSearchIndex SearchIndex

Methods

DrawerTypeCanDrawProperty(Type, InspectorProperty)
public static bool DrawerTypeCanDrawProperty(Type drawerType, InspectorProperty property)
Parameters
System.Type drawerType

InspectorProperty property

Returns
System.Boolean

GetCachedUninitializedDrawer(Type)
public static OdinDrawer GetCachedUninitializedDrawer(Type drawerType)
Parameters
System.Type drawerType

Returns
OdinDrawer

GetDefaultPropertyDrawers(InspectorProperty)
public static IEnumerable<TypeSearchResult> GetDefaultPropertyDrawers(InspectorProperty property)
Parameters
InspectorProperty property

Returns
System.Collections.Generic.IEnumerable<TypeSearchResult>

GetDefaultPropertyDrawers(InspectorProperty, List<TypeSearchResult>)
public static void GetDefaultPropertyDrawers(InspectorProperty property, List<TypeSearchResult> resultList)
Parameters
InspectorProperty property

System.Collections.Generic.List<TypeSearchResult> resultList

GetDrawerPriority(Type)
Gets the priority of a given drawer type.
public static DrawerPriority GetDrawerPriority(Type drawerType)
Parameters
System.Type drawerType

Returns
DrawerPriority

HasAttributeDrawer(Type)
public static bool HasAttributeDrawer(Type attributeType)
Parameters
System.Type attributeType

Returns
System.Boolean