Version 3.3.1.2

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, ref TypeSearchResult[], ref Int32)
public static void GetDefaultPropertyDrawers(InspectorProperty property, ref TypeSearchResult[] resultArray, ref int resultCount)
Parameters
InspectorProperty property

TypeSearchResult[] resultArray

System.Int32 resultCount

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