Skip to content

IndentAttribute

Namespace: SideXP.Core | Inherits from: PropertyAttribute

public class IndentAttribute : PropertyAttribute

Indents a property in the inspector (using custom property drawer).

Constructors

IndentAttribute(int)

public IndentAttribute(int levels = 1)

Indents this property in the inspector.

Parameters

  • levels: The number of levels to add to the current indent level.

Properties

Levels

public int Levels

The number of levels to add to the current indent level.