[HideLabels]

Attribute hides prefix labels for nested entity levels.

Parameters

Parameter
Type
Description

depth

int

Number of nested levels to hide labels for. 1 = current level, 2 = current and next, etc.

Additive

bool

If true, adds to the current hide depth instead of replacing it.

Examples

[HideLabels]
public Vector3 position;

[HideLabels(2)]
public MyStruct complexData;

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

Last updated