[Indent]

Attribute adds indentation to the field.

Parameters

Parameter
Type
Description

level

int

Number of indent levels to apply.

Additive

bool

If true, adds to the current indent level instead of setting it.

Examples

[Indent]
public int indentedValue;

[Indent(2)]
public string deeplyIndented;

[Indent(Additive = true)]
public float value;

Last updated