44 lines
1.6 KiB
Markdown
44 lines
1.6 KiB
Markdown
|
# TextMesh Pro Documentation
|
||
|
|
||
|
TextMesh Pro is a set of Unity tools for 2D and 3D text.
|
||
|
|
||
|
TextMesh Pro provides better control over text formatting and layout than to Unity's UI Text & Text Mesh systems. It includes features such as:
|
||
|
|
||
|
* Character, word, line, and paragraph spacing.
|
||
|
* Kerning.
|
||
|
* Justified text.
|
||
|
* Links.
|
||
|
* More than thirty rich text tags.
|
||
|
* Support for multiple fonts.
|
||
|
* Support for sprites.
|
||
|
* Custom styles.
|
||
|
* Advanced text rendering using custom [shaders](Shaders.md).
|
||
|
|
||
|
## Getting started
|
||
|
|
||
|
The TextMesh Pro package is included in the Unity Editor. You do not need to install it.
|
||
|
|
||
|
To use TextMesh Pro, you must import the TMP Essential Resources package (see the next section).
|
||
|
|
||
|
You can also import the TMP Examples & Extras package to help you learn TextMesh Pro.
|
||
|
|
||
|
### Importing required resources into projects
|
||
|
|
||
|
To use TextMesh Pro in your projects, you need to import the **TMP Essential Resources**.
|
||
|
|
||
|
- From the menu, select **Window > TextMeshPro > Import TMP Essential Resources**
|
||
|
|
||
|
This adds the essential resources to the **TextMesh Pro** folder in the Project.
|
||
|
|
||
|
### Importing examples and additional resources
|
||
|
|
||
|
TextMesh Pro also includes additional resources and examples to help you learn about various features.
|
||
|
|
||
|
You can import these into your projects as well.
|
||
|
|
||
|
- From the menu, select **Window > TextMeshPro > Import TMP Examples & Extras**
|
||
|
|
||
|
This adds the examples and additional resources to the **TextMesh Pro > Examples & Extras** folder in the Project.
|
||
|
|
||
|
Installing the TMP Examples & Extras is not mandatory, but is strongly recommended for first-time TextMesh Pro users.
|