Version 2.1.0.0

InfoBoxAttributeDrawer class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
[DrawerPriority(0, 10001, 0)]
public sealed class InfoBoxAttributeDrawer : OdinAttributeDrawer<InfoBoxAttribute>
Draws properties marked with InfoBoxAttribute. Draws an info box above the property. Error and warning info boxes can be tracked by Odin Scene Validator.
Inheritance

Constructors

InfoBoxAttributeDrawer()
public InfoBoxAttributeDrawer()

Fields

DrawMessageBox
public bool DrawMessageBox
ErrorMessage
public string ErrorMessage
MessageHelper
public StringMemberHelper MessageHelper
VisibleGetter
public InspectorPropertyValueGetter<bool> VisibleGetter

Methods

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

Initialize()
protected override void Initialize()
Extension Methods