Toolbar
Disposable scope wrappers for Odin Inspector's SirenixEditorGUI.BeginHorizontalToolbar/EndHorizontalToolbar. These scopes draw styled toolbar areas with configurable height and padding, used for editor window toolbars and action bars.
Architecture
Scopes
Key Difference
HorizontalToolbar — wraps
SirenixEditorGUI.BeginHorizontalToolbaronly. Content flows horizontally.VerticalToolbar — wraps
SirenixEditorGUI.BeginHorizontalToolbarandEditorGUILayout.BeginVerticalinside it. Content flows vertically within the toolbar area.
Both toolbar scopes depend on Odin Inspector (Sirenix.Utilities.Editor). They will not compile without the Odin package installed.
See Also
DrawGUI.Scope — base scope class and scope chaining
Layout — standard layout group scopes
DrawGUI Overview — system overview
Last updated