Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How Can I Convert Existing Unity UI Text to TextMesh Pro Text?

Discussion in 'UGUI & TextMesh Pro' started by DrMarvellous, Mar 6, 2019.

  1. DrMarvellous

    DrMarvellous

    Joined:
    Feb 5, 2019
    Posts:
    10
    Hi folks, I've been trying to find a solution online and in the forum for this and I cannot find how to do it. I have a media player I'm working on and I have the audio elapsed time and remaining time displaying in my scene, but it's Unity UI text and it looks awful.

    Q: How can I easily convert it to TextMesh Pro text, whilst retaining everything in the script that is already setup and working, without breaking anything?

    I've tried simply replacing the U text with TMP text, but it doesn't work that simple for me, as I don't really know what's going on with the script (Newbie still at the very early stages of learning Unity).

    Any guidance would be greatly appreciated, thank you.