BoxHeader

Scope that wraps content in a Sirenix box header region via SirenixEditorGUI.BeginBoxHeader/EndBoxHeader. Used inside a Box scope to create a custom header area with arbitrary controls (buttons, labels, toggles, etc.).

Definition

Namespace: Paragon.Editor Assembly: Paragon.Editor.dll

public static partial class DrawGUI
{
    // Factory method
    public static Scope BoxHeader()

    // Extension method (chaining)
    public static Scope BoxHeader(this Scope scope)

    // Implementation
    private class BoxHeaderScope : Scope
}

Remarks

BoxHeader creates a styled header bar inside a Sirenix box. Unlike Box("label") which draws a simple text header, BoxHeader lets you place any IMGUI content in the header — buttons, toggles, horizontal layouts, icons, etc.

circle-exclamation

Factory Methods

BoxHeader

Creates a box header region scope. Takes no parameters — the header styling is handled entirely by Sirenix.

Examples

Custom Header with Button

Header with Toggle

Chained Box + BoxHeader

See Also

Last updated