Creating and Using a Text Mesh


A TextMesh draws a custom string using a selected Font.

  1. Create a TextMesh by clicking on "Create > tk2d > TextMesh" in the Hierarchy Window. (You will find this under the 2D Object submenu in Unity 4.6 and higher)

    img/CreateTextMesh.png

  2. Choose a font from the dropdown, and select how many characters you wish to display on this TextMesh. Your string will be truncated if it exceeds this limit. You can also tweak the other properties here.

    img/TextMeshInspector.png