[ConfigSection]

Groups one or more configuration fields into a named section in Config window.

Parameters

Parameter
Type
Description

name

string

Display name of the section.

Order

int

Order used to sort sections in the left panel.

IconName

string

Optional icon name for the section.

Description

string

Optional description displayed below the section title in the toolbar.

Expanded

bool

If true, the section is expanded by default.

Examples

[ConfigSection("Groups/Foldout", Order = 300, Description = "Foldout creates a collapsible group for organizing related fields. Supports custom styles.")]
[SerializeField]
[InlineEditor]
private FoldoutSection foldoutSection;

Last updated