Skip to main content

Questions tagged [text-mesh-pro]

The tag has no usage guidance.

0 votes
0 answers
12 views

In Unity, how to make World Space XR UI Canvas Scale with the Child Input Field TMP?

I have an XR UI canvas that is set to World Space. It has a child object which is an Input Field. If the text input overflows the Input field, I have made it to expand vertically downwards using a '...
Amir's user avatar
  • 31
0 votes
1 answer
83 views

Unity: Cannot access TMP_Text object from script in gameobject

I'm trying to set the color property of a TMP_Text object but keep getting Object reference not set to instance of an object error. Setup is as follows; I have a ...
Skittles's user avatar
  • 103
1 vote
0 answers
80 views

Unity Text mesh pro custom Font issue

Following an upgrade from Unity 2020.3.36f to 2023.2.3f1, I've encountered problems with custom fonts in Text Mesh Pro. The texts using custom fonts aren't displaying correctly, whereas the default ...
Muhammed Fasil 's user avatar
0 votes
1 answer
212 views

Custom TextMeshPro Shader doesn't render on Android

I wanted to make build of a project using custom shader for TextMeshPro text assets. It renders nicely on PC but It gives me block instead when build for the meta Quest 2. For me it looks like it ...
Felox's user avatar
  • 67
0 votes
1 answer
74 views

TextMeshPro Page Mode Issue (Readable Books In game)

I'm trying to implement readable books into my game. Much like Morrowind and Skyrim. I have a system that sort of works, but it appears as though there is a bug that is duplicating some page data, and ...
Krythic's user avatar
  • 790
0 votes
1 answer
641 views

How to animate a Text Mesh Pro font color transition in Unity when the initial color is unknown?

I have some text where different letters can be different colors: I'd like to use the Animation feature to transition each letter frame-by-frame until they are white, like this: The challenge is ...
kanamekun's user avatar
  • 369
1 vote
0 answers
195 views

How can I create text underlayed with sprites in Unity UI?

I have some UI text in a canvas that I'd like to be able to render with sprites behind some of the characters. This is effect I'd like to achieve: I've been able to use Text Mesh Pro UI text objects ...
Zach's user avatar
  • 111
0 votes
1 answer
220 views

How to replicate TextMesh Pro Gradient ScriptableObject Interface?

I'm creating a scriptable object to store the color scheme for each level in my Brick Breaker game. There are a lot of options for how to input colors, but the way that TextMesh Pro does it for their ...
MXMLLN's user avatar
  • 115
0 votes
3 answers
1k views

How to make TextMeshProUGUI truncate the left part (beginning) of a line?

I'm trying to display file names including their directory. When the file path gets too long for the text box, I want to align it right, because the filename is more important than the directory. I ...
Frederik Steinmetz's user avatar
1 vote
0 answers
170 views

Apply custom patterns to different letters using Text Mesh Pro

I'm making a Unity app, and would like to apply a zebra-like stripe to various letters: My first thought was to create a Material Preset with zebra stripes, and apply it to my font using Text Mesh ...
kanamekun's user avatar
  • 369
0 votes
0 answers
120 views

How to get information about hovered inline sprite in a TextMeshPro?

I am new to Unity And C#. Usually I can get answers online when I encountered problems, but this one I couldn't find any clue. I know there's a way to detect text by using ...
Hippo's user avatar
  • 1
1 vote
0 answers
109 views

How can I blur part of TMP text and animate that blur in Unity?

I have a text animation in unity and at one point I want to blur part of the text. How would I do this without creating bunch of material preset and if I would make an effect with editing the material ...
Ivan's user avatar
  • 349
3 votes
1 answer
1k views

Caret not visible with TMP_InputField created from script

I'm modding an Unity game. I don't have access to its source, to any Unity editor or assets. All I have is BepInEx and some C# scripting, plus whatever Visual Studio can decompile from dlls. I create ...
akarnokd's user avatar
  • 233
-1 votes
1 answer
438 views

Event Click Mouse Button to 3D TextMeshPro

Im create TextMeshPro from "Create -> 3D Object ->Text - TextMeshPro" How to receive mouse button click event for TextMeshPro? I tried via Physics.Raycast/Collider but it doesn't work. ...
fredwriter's user avatar
0 votes
1 answer
2k views

Change the "Font Asset" of every TextMeshPro object

I have a large project in Unity and I would like to change the font for every TextMeshPro Object in every scene. I've tried changing the "Default Font Asset" in Edit > TextMesh Pro > ...
Gary Olsson's user avatar

15 30 50 per page