Version 2.1.0.0

MenuTreeBrowser class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
[HideReferenceObjectPicker]
[HideLabel]
public abstract class MenuTreeBrowser
Inheritance
  • System.Object
  • MenuTreeBrowser

Constructors

MenuTreeBrowser()
protected MenuTreeBrowser()

Fields

ContentPadding
The content padding
public Vector2 ContentPadding

Properties

MenuColumn
public ResizableColumn MenuColumn { get; }
Value
Gets the value selected value.
[EnableGUI]
[HideLabel]
[ShowInInspector]
[DisableContextMenu(true, false)]
[VerticalGroup(0)]
[InlineEditor(InlineEditorObjectFieldModes.CompletelyHidden)]
[SuppressInvalidAttributeError]
public object Value { get; }

Methods

BuildMenuTree()
public abstract OdinMenuTree BuildMenuTree()
Returns
OdinMenuTree

DrawMenuTree()
Draws the menu tree.
[OnInspectorGUI]
[PropertyOrder(-1)]
protected virtual void DrawMenuTree()
ForceRebuildMenuTree()
Invokes BuildMenuTree.
public void ForceRebuildMenuTree()

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.