Version 2.1.0.0

EnableIfAttributeDrawer class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
[DrawerPriority(DrawerPriorityLevel.SuperPriority)]
public sealed class EnableIfAttributeDrawer : OdinAttributeDrawer<EnableIfAttribute>
Draws properties marked with EnableIfAttribute.
Inheritance

Constructors

EnableIfAttributeDrawer()
public EnableIfAttributeDrawer()

Methods

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

Initialize()
Initializes the drawer.
protected override void Initialize()
Extension Methods