Questions tagged [textmeshpro]
82 questions
-1
votes
1 answer
Unity - cannot set text in Text Mesh Pro - Missing target object for 'TMPro.TextMeshPro.text'
I'm using Visual scripting in Unity 2021.3.5f1, where want to set a text in Text Mesh Pro using Script graph.
When I create a Text Mesh Pro using Game Object > 3D Object > Text - Text Mesh Pro menu items, I can set the text using a Script graph.…

Jovan MSFT
- 13,232
- 4
- 40
- 55
-1
votes
2 answers
how to change the text value of a TextMeshProUGUI in the script
I am trying to populate a menu of profiles, my template has an Image and a Text (TMP) as a child object on it.
so I am collecting all of the templates using the findGameObject with tag and then using a foreach loop assigning the text value with a…

MIM
- 5
- 4
-2
votes
1 answer
What do I have to change in my script so I can attach my TextMesh Pro texts to the script
enter image description hereI'm new to unity, so any help is greatly appreciated and sorry if the question is a little odd. Anyways, I'm writing a script to check the internet connection and if everything is ok, the player can move to the next…

Davinci
- 1
- 2
-2
votes
1 answer
How to print string from json file into TMP_Text in Unity/C#?
I am new in using Unity and C#. I have a code that I got from a source that reads a json file. I want the data from the json file to appear and printed on a specific textfield.
Here is my code...
using System.Collections;
using…

TheRNB
- 1
-2
votes
1 answer
{TextMeshPro problem} Coin collecting system that increases coin counter when the player is in contact with the sphere - works with Debug.Log. [Unity]
I made a coin collecting system that increases the number on a counter when the player comes in contact with the "coin" > sphere. I used Debug.Log to make sure that the counter works. It does. However, When I use TextMeshPro to display that value,…

TheOdinBorson
- 3
- 3
-3
votes
1 answer
How to set a TextMeshPro text to italic / normal
I want to create a safety check in a game for children so only the parents can access a specific area. The script of checking the input is done and working. What I am trying to create is a feedback to see what number is already clicked.
Parents must…
-3
votes
1 answer
How to disable android navigation bar when soft keyboard is enabled?
when an android soft keyboard is enabled via the interaction with an input field, the navigation bar is also enabled along with the keyboard. Is there any way to disable/hide the navigation bar in this case?
This is implemented in Unity#d, but if a…

djkpA
- 1,224
- 2
- 27
- 57