Questions tagged [textmeshpro]
82 questions
0
votes
1 answer
How to automatically activate a TMP_InputField
I have two TMP_InputField in unity. I am trying to automatically focus on and activate the other once the first one has an input. I have tried the following but for some reasons, it's not working for me.
using UnityEngine;
using…

Craving_gold
- 189
- 1
- 14
0
votes
2 answers
TextMeshPro 3D text glowing?
I'm trying to use TextMesh pro with 3D text but in is glowing? I don't have glow on the text, so I don't know why its glowing through the fog in my scene.
https://i.stack.imgur.com/miUlJ.jpg
This image shows what the text looks like in my scene.…

PugDance
- 3
- 3
0
votes
0 answers
How to add Unity TextMeshPro custom with custom outline?
I tried to add custom tag that has glowing outline, for example
this is a test
But I couldnt find any useful tutorial or thread about this one
I tried assigned value to material…
0
votes
0 answers
How not to reset vertex colors after updating text?
I have a simple coroutine which is printing text by symbol outputing result in TextMeshProUGUI.
IEnumerator TextPrint(TextMeshProUGUI output, string input, float delay, bool skip)
{
for (int i = 1; i <= input.Length; i++)
{
…

Глеб Буткевич
- 358
- 3
- 17
0
votes
0 answers
Unity - referencing Text Mesh Pro sprite assets string constants
I'm finding myself inputting some nasty bits of hard-coded sprite asset string references in my code like this:
[SerializeField] TMP_Text _purchaseLabel;
private void UpdateState()
{
_purchaseLabel.text = "" +…

Dror
- 2,548
- 4
- 33
- 51
0
votes
1 answer
Unity - Updating Font Size tags in TMPro Stylesheet on runtime?
I have a style sheet set up in which I set up tags that set font size such as . Is it possible to somehow modify the stylesheet on runtime to change these sizes (even if I have to do it one by one)? It's for implementing a font size…

The Embraced One
- 13
- 6
0
votes
2 answers
Access TextMesh Pro Texture Tiling and Offset how?
TextMesh Pro shaders have two unusual facilities for adjusting the Textures used for both the Face and the Outline: Tiling and Offset.
They're not accessible via the normal ways of using keywords to access shader properties in Unity.
Is it possible…

Confused
- 6,048
- 6
- 34
- 75
0
votes
0 answers
TextMeshPro not working - Need Help assignment due tomorrow
I need help solving these issues they all happened at once and havent changed anything?enter image description here
I have tried looking for a solution but there is no answer anywhere
0
votes
0 answers
TextMeshPro not showing in game build
TextmeshPro object is showing in both scene view and game view within environment but not in builds
Textmeshpro canvas: (https://i.stack.imgur.com/XZh5v.png)
Textmeshpro: (https://i.stack.imgur.com/1hJwo.png)
any help would be appreciated

Bob Jone
- 11
- 1
0
votes
1 answer
Can I use more than one TMP_Text or TextMeshPro in Unity?
I'm trying to display a 2 results, but it will only display on the first TextMeshPro
Can I add multiple TMP_Text?
Also, how use call it if I tag the TMP_Text?

Liora
- 45
- 1
- 7
0
votes
1 answer
How do I create and place an input text field from script?
I want to display an input field on the screen from a script, no editor, no template to work with. I think I need a TMP_InputField but I was unable to position it, see it or interact with it at all.
This is my code so far. I can see the grey…

akarnokd
- 69,132
- 14
- 157
- 192
0
votes
1 answer
Unity - TextMeshPro button is clicked through
I am making a Tower Defence game for mobile and I'm struggling to fix this bug for the last couple of weeks. In order to build a tower, I tap on a tile, which pops up a UI menu with a couple of towers to choose from. If behind the location I tap on…

Teodor Lutoiu
- 11
- 1
0
votes
0 answers
Using Text Mesh Pro instead of Legacy Unity Text in Unity Drag and Drop Inventory System
I am making a drag and drop inventory system with a hotbar. This script ItemPanelHelper will help distinguish between new items with an image, item name, and item count. It will/does reset the image, highlight item being selected, swap out data, and…

Styles
- 25
- 4
0
votes
3 answers
Unity - changing colors via script not working?
still learning Unity.
I want to change text of a dots under button. These dots are TextMeshPro objects.
I'd like to set the color as variable to be able to change it later in the app.
My code is:
using System.Collections;
using…

Ondrej Sabol
- 15
- 2
0
votes
1 answer
GameObject covers UI text on Android
There are no problems when I am testing it in the editor. However, one specific GameObject (which is a simple sphere object) covers texts while testing the game on Android. This object is scaled between certain values at runtime as well. The same…

Masea
- 103
- 2
- 10