1、Character
Text – enter the text to be displayed
Font – the type of font to render the text in (eg: HeiTi, Arial)
FontStyle – whether to bold, italic, etc.
- Normal–normal
- Bold–bold
- Italic – Oblique
- Bold and Italic – bold and italic
LineSpacing – line spacing
RichText – whether to use rich text
-
Note: There cannot be spaces in the following commands
-
<size=20>Text< /size>Bold
-
< b>Text</b> bold
-
<color=green>Text< /color>Specify color
-
<color=#ffffff>Text< /color>Custom color
2、Paragraph
Alignment – Alignment.
AlignByGeometry – whether to align geometry
Horizontal Overflow–horizontal overflow
- Warp – automatic line wrapping
- Overflow – overflow, displayed outside the box
Vertical Overflow – vertical overflow
-
Truncate – the text does not display the overflow boundary part of the content
-
Overflow – text showing overflow
Best Fit – Adaptive, MinSize, MaxSize will be displayed after checking, and it will not work when the overflow is Overflow. When Horizontal is Warp and Vertical is Truncate, it will not exceed the boundary and adapt to the boundary.
MinSize – the smallest font size that the text can display within the boundaries
MaxSize–The maximum font size that the text can display within the boundaries
Color – text color
Material – add material to text
Raycast Target – Select to receive messages