API reference
API reference
Select your platform
No SDKs available
No versions available

DebugDecorativeText Class

Extends PreserveAttribute
Attribute to add decorative text elements (headers, descriptions, separators) above debug members in the Inspector Panel.
Can be applied multiple times to add multiple decorative elements before the main member.

Fields

The text content to display in the decorative element.
The style name used for both layout and text styling of the decorative element.
The system loads styles using Style.Load(styleName) and Style.Instantiate(styleName) from Unity Resources at "Styles/TextStyles/" and "Styles/LayoutStyles/" respectively. Common values include "Content", "H1", "H2", etc. Defaults to "Content".