[TabGroup]

Groups fields into a tabbed container with multiple pages.

Parameters

Parameter Name
Arguments
Description

name

string

Tab container group identifier.

tabName

string

Display name for this tab.

Tooltip

string

Tooltip text shown on tab hover.

Examples

[TabGroup("Settings", "General")]
public string generalName = "Default";

[TabGroup("Settings", "General")]
public bool generalEnabled = true;

[TabGroup("Settings", "Visual")]
public Color visualColor = Color.white;

[TabGroup("Settings", "Visual")]
public float visualSize = 1f;

[TabGroup("Settings", "Audio")]
[Slider(0f, 1f)]
public float audioVolume = 0.8f;

[TabGroup("Settings", "Audio")]
[ToggleLeft]
public bool audioMuted = false;

Last updated