Skip to content

IndentedScope

Namespace: SideXP.Core.EditorOnly | Inherits from: GUI.Scope

public class IndentedScope : GUI.Scope

Custom GUI Scope for drawing indented fields.

Constructors

IndentedScope(int)

public IndentedScope(int levels = 1)

Begins a scope with the given indentation level.

Parameters

  • levels: The number of indentation levels to apply. Can't be less than 1.

Methods

CloseScope()

protected override void CloseScope()

Restores the indentation level.