TabGroup
Groups the Properties in a Box with Tabs

// HORIZONTAL TAB GROUP
[TabGroup("Label")]
public float speed;
[TabGroup("Label")]
public int health;
[TabGroup("Label")]
public float wideProperty;
[TabGroup("Label")]
public int regularWidth;
// VERTICAL TAB GROUP
[TabGroup("Tab 1", "Group with Title", showTitle: true, direction: TabDirection.Vertical)]
public int testTabOne;
[TabGroup("Tab 2", "Group with Title", true)]
public int testTabTwo;
[TabGroup(string tabName, string identifier, bool showTitle,
TabDirection direction)]tabName: Name of the tab where this property is located.
identifier: Name that identifies the Group. If set to null, it will default to the TabGroup.
showTitle: Enables or Disables a Title on top of the Tab Group.
direction: defines the TabDirection.
TabDirection
Enum
TabDirection
Enum member ( TabDirection)
Horizontal
Enum member ( TabDirection)
Vertical
Last updated