text | The text to display. |
pos | The start position where the text will be displayed. |
fontSize | The font size to use. |
color | The text color. |
font | The font asset to use. If the value is null, the font asset of the VisualElement style is used instead. For more information, refer to <see cref="IStyle.unityFontDefinition" />. |
Draw a string of text.