API reference

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

Content : string
The text content to display in the decorative element.
Signature
string Content
Style : string
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".
Signature
string Style