This version of Unity is unsupported.

MeshGenerationContext.DrawText

Declaration

public void DrawText(string text, Vector2 pos, float fontSize, Color color, TextCore.Text.FontAsset font);

Parameters

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.

Description

Draw a string of text.