HText
Class
Fields
Constructors
HText(text: string, enableRichText: bool, emojiFallbackSupport: bool, parseEscapeSequences: bool, selectable: bool, doubleClickSelectsWords: bool, tripleClickSelectsLine: bool, languageDirection: Language Direction, style: Text Style, key: Key, constants: object[], modifiers: IReadOnlyCollection <Modifier>)
Creates a wrapper widget around Label that allows for easy configuration of the textual content.
Parameters
text:
string - The textual content to display.enableRichText:
bool - Whether the text supports unity's rich text formatting.emojiFallbackSupport:
bool - Whether to use emoji fallbacks for unsupported characters.parseEscapeSequences:
bool - Whether to parse escape sequences like \nin the text.selectable:
bool - Whether the text is selectable by the user.doubleClickSelectsWords:
bool - Whether double-clicking selects words.tripleClickSelectsLine:
bool - Whether triple-clicking selects entire lines.languageDirection:
Language Direction - The language direction for the text.style:
Text Style - Style overrides to apply to the text.key:
Key - Passed on to Widget.key.constants:
object[] - Passed on to Widget.constants.modifiers:
IReadOnlyCollection <Modifier> - Passed on to Widget.modifiers.Methods
Create(): Label
DebugFillProperties(properties: Diagnostic Properties Builder): void
Inherited Members
Extension Methods
To Diagnostics Node SafeIfClipConstDisplayExpandFillFlexibleMarginOpacityPaddingPositionedShrinkSizeStretchTight StretchTightVisibilityWith ModifierBodyCaptionDisplayHeadingTo BuildableTo FactoryDescribe IdentityShort HashTo String Nullable