Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Adding a clamp to scale for TMP world space without constantly calculating distance?

Discussion in 'UGUI & TextMesh Pro' started by billygamesinc, Dec 28, 2023.

  1. billygamesinc

    billygamesinc

    Joined:
    Dec 5, 2020
    Posts:
    349
    I have some floating damage text using TMP world space text and would like to know if I could somehow make a min and max font size. If the object is too far then the text wont show and if its too close the text is too big. Is there a feature in TMP that calculates this?