color
: Color |
The color for the text with Unity's builtin Color type.
by default using white color.
Signature
Color color |
font
: Font |
The font of the text using Unity's builtin Font type.
Assign it with font assets.
Signature
Font font |
fontSize
: int |
The font size of the text, by default to 14.
Signature
int fontSize |
textAlignement
: TextAnchor |
Where the anchor of the text is placed.
There are 9 possible alignment styles, check out details in the TextAnchor.
Signature
TextAnchor textAlignement |