Search Unity

[SOVED] Text vs TextMesh

Discussion in 'UGUI & TextMesh Pro' started by Deleted User, Feb 16, 2015.

  1. Deleted User

    Deleted User

    Guest

    What are the pros and cons of each?
    What are the differences?
     
  2. Chris-Trueman

    Chris-Trueman

    Joined:
    Oct 10, 2014
    Posts:
    1,261
    TextMesh is more light weight, it only needs 2 components.
    Text needs 2 components as well as a canvas which is 1 or more components, and maybe an event system.

    TextMesh is used in world space and requires some math to get it to be in screen space.
    Text is in canvas space which can be in screen or world space.

    There could be other factors with performance that I have no numbers for, so I don't want to tell you something that could be wrong.

    It really depends on what you are displaying and where you display it. The new UI performs nicely on my computer and my tablet, better on my tablet. TextMesh i have had no issues with performance or problems other than strings generating garbage, which is the same for any text, and that can be fixed.
     
  3. Igloar311

    Igloar311

    Joined:
    Jul 24, 2021
    Posts:
    1
    Ñ
     
    Infinite-3D likes this.