Questions tagged [textmeshpro]

82 questions
0
votes
1 answer

Is TextMesh Pro InputField for password secure?

I'm making a mobile online game with Unity. Just like other online games, there is a login screen for entering an ID/password with TMP_InputField from TextMesh Pro. The password input field is covered with asterisks, but the value of the input…
Peter Han
  • 1
  • 1
0
votes
1 answer

Can't change TextMeshPro's alpha in canvas gruoup (Unity)

I've been trying to change the alpha value of an object and all of its children with a canvas group in Unity (I'm making UI animations), and every child will fade out, except for TextMeshPro objects. Why is that, and is there a way to make it…
0
votes
2 answers

How do I resolve this Collection Modified Error?

To preface, I believe I understand how list modification errors occur. You can't change a list while you're looping them, and in some cases, variables that are linked to the list (I think that's what's happening). I've also searched around quite a…
0
votes
1 answer

How to display text in Unity game

I inherited by my ex collegue a Unity game. Now I need to implement this behaviour. The game consist in a car drive by user using Logitech steering. Now I need to show a Text every X minute in a part of the screen like "What level of anxiety do you…
bircastri
  • 2,169
  • 13
  • 50
  • 119
0
votes
0 answers

Unity Text(Legacy) disapears on WebGL build

I am trying to make a FlappyBird on WebGL with Unity. I made scores system, and there is no bug finded while runing on unity editor, but when I build with WebGL, Text don't shows up. Only legacy Text (Not TextMeshPro) causes this problm, so it would…
R0K0R lee
  • 21
  • 5
0
votes
1 answer

TextMeshPro reinstalled but not showing under ''Window'' menu

I had to remove and reinstall TextMeshPro and when I went under window to import TMP Essential Resources it wasn't there . How do i fix this? Here's the QuestionSo QuestionSO
0
votes
1 answer

How to detect clicks on a dynamically updated TextMeshProUI text?

I'm trying to implement a functionality that can determine which word in the text the user clicked on. To do this, I use the TextMeshProUGUI element and the following code: using System.Collections; using System.Collections.Generic; using…
dv5775
  • 15
  • 2
0
votes
1 answer

How to get support all type of fonts in unity3d textmeshpro

In unity3d text-mesh pro, I'm attempting to render these kind of fonts. However, it is not working; please assist us in resolving this issue. ꧁༺₦Ї₦ℑ₳༻꧂ ꧁༺ ₦Ї₦ℑ₳ ƤℜɆĐ₳₮Øℜ ༻꧂ ♔〘Ł€Ꮆ€ŇĐ〙♔ ꧁༒☬ᶜᴿᴬᶻᵞkíllє®™r☬༒꧂ My output is:
Annamalai
  • 109
  • 2
  • 12
0
votes
0 answers

Instantiated Text mesh pro game object appears with no opacaty

I am working on a game where I need to Instantiate TMP text as a gameobject (tried instantiating as TMP text but wouldn't appear in the list where I add the objects). I change the text value while instantiating and that works but even though the…
user4821
  • 3
  • 1
0
votes
1 answer

Call UI Variable on another script and being able to put it in the scene C# Unity

I am making a dodging game and I was working on the scoring system until I needed to call Public TextMeshProUGUI HighScore; to another script, I have been trying to find a way to add it and make it display what it does in my Timer script but it…
IU64
  • 11
  • 2
0
votes
1 answer

How to get number of lines of text in TMP_Inputfield

I make some Letter program by using Unity. For Text Input, I use TMP_Inputfield, and I need to get the line of text, because I want to make this programs respond well when I press the Enter key. When I set the line Limit as 5, and Line Type as Multi…
0
votes
1 answer

Use script to change the font of a button label (TextMesh Pro)?

I want to use script to dynamically change the font of a specific button label in Unity. However, my efforts haven't worked. I have created a simple game. The game's interface has multiple buttons on the canvas, with unique text labels on each…
stevemn
  • 1
  • 1
  • 2
0
votes
0 answers

Horizontally align number at the decimal point in TextMesh Pro in Unity

I am trying to align TextMesh Pro text fields showing float numbers in Unity, so that the decimal point stays at a fixed horizontal position regardless of the number value. If I am using a font where the numbers have equal width (monospace numbers)…
0
votes
1 answer

Unity Timeline Component Not being Referenced through Scripting

I followed a tutorial to create a text custom track in Unity Timeline. I want to bind the track's key to a subtitle GameObject with TextMeshProUGUI through script. Basically, I am using the method below: playableDirector.SetGenericBinding(track,…
Mike Harb
  • 93
  • 1
  • 9
0
votes
1 answer

TMPro stopping rendering after sprite tag from dynamic SpriteAsset

I am generating (or at least attempting to) a TMP_SpriteAsset at run time, and adding this to the list of fallbacks on the default SpriteAsset. It is not possible to build the SpriteSheet at compile time, it has to be dynamic for this project. To do…
Graeme
  • 1,643
  • 15
  • 27