

Since the geometry created by TextMeshPro uses two triangles per character just like Unitys text components, this improved visual quality and flexibility comes at no additional performance cost.UPGRADE NOTE-This latest release of the TMP package includes updated TMP Essential Resources and TMP Examples & Extras. Its the perfect replacement for Unitys UI Text and the legacy Text Mesh.Powerful and easy to use, TextMeshPro (also known as TMP) uses Advanced Text Rendering techniques along with a set of custom shaders delivering substantial visual quality improvements while giving users incredible flexibility when it comes to text styling and texturing.TextMeshPro provides Improved Control over text formatting and layout with features like character, word, line and paragraph spacing, kerning, justified text, Links, over 30 Rich Text Tags available, support for Multi Font & Sprites, Custom Styles and more.Great performance. The easiest way to apply rich text tags to right-to-left text is to type the text in the right-to-left editor, and then apply the tags in the regular editor.GitHub - needle-mirror/: 📦 TextMeshPro is the ultimate text solution for Unity.

Rich text tags that you enter in the right-to-left editor do not work unless you type them right-to-left as well. TextMesh Pro's right-to-left editor does not distinguish between regular text and rich text tags. When you nest tags, you don't have to close their scopes in the same order that you started them. The the second tag has a closing tag that limits its scope to one word. The first tag’s scope is the entire text block. Tags can also be nested so one tag’s scope is within another tag’s scope. Closing tags contain only a forward slash and the tag name, like this: You can also limit the scope of most tags using a closing tag. If you use the same tag more than once in a text block, the last tag supersedes all previous tags of the same type. Most of the time, a tag added to a given point in the text affects all of the text from that point forward.įor example, adding the tag at the beginning of the text affects the entire text block:Īdding the same tag in the middle of the text block affects only the text between the tag and the end of the block : Tags have a scope that defines how much of the text they affect. The table below lists possible attribute/value types. index is an attribute of the sprite tag, and its value is 3.Ī tag, including its attributes, can be up to 128 characters long. Similarly inserts the fourth sprite from the default Sprite Asset.

Some tags have additional values or attributes, and look like this:įor example makes text red. Rich text tags are similar to HTML or XML tags, but have less strict syntax.Ī simple tag consists of only the tag name, and looks like this:įor example, the tag makes text bold, while the tag underlines it.
#RTL editor unity text mesh pro pro#
