Version 2.1.0.0

OnInspectorGUIAttributeDrawer class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
[DrawerPriority(DrawerPriorityLevel.WrapperPriority)]
public sealed class OnInspectorGUIAttributeDrawer : OdinAttributeDrawer<OnInspectorGUIAttribute>
Draws properties marked with OnInspectorGUIAttribute. Calls the method, the attribute is either attached to, or the method that has been specified in the attribute, to allow for custom GUI drawing.
Inheritance

Constructors

OnInspectorGUIAttributeDrawer()
public OnInspectorGUIAttributeDrawer()

Methods

DrawPropertyLayout(GUIContent)
Draws the property.
protected override void DrawPropertyLayout(GUIContent label)
Parameters
UnityEngine.GUIContent label

Extension Methods