TextMesh Pro - Text Auto Sizing vs. UI Text - Best Fit

Поділитися
Вставка
  • Опубліковано 11 чер 2015
  • In this video I share the result of performance tests between UI Text - Best Fit and TextMesh Pro - Text Auto Sizing.
    Profiler result available here digitalnativestudios.com/forum...
    TextMesh Pro is available on the Unity AssetStore
    www.assetstore.unity3d.com/en...
  • Ігри

КОМЕНТАРІ • 6

  • @JunkerJames
    @JunkerJames 8 років тому

    The issue will probably only happen when you really thrash changes (i.e. a score counter ticking up every frame is where I'm seeing it). It seems that the system for best fit is something like a "try it at this size... does it fit? Make it bigger/smaller -> loop", and that causes lots of different variants of glyphs to be written to the texture. I remember this was also a slight issue with idtech's character rendering when I was working on brink (not that we had a "best fit" option, but if you animated font size, you'd bring it to its knees).

    • @Zolran
      @Zolran  8 років тому

      +Aubrey Hesselgren The ideal way of using Text Auto-Sizing is to enable it to find (test) for the best size point size to be used. Normally, you would only do this on the largest text object and then use that point size on all other text objects. This way you end up with a consistent point size for all objects with no real performance impact.
      Using Text Auto-sizing on all objects results in a greater performance impact (which is still fine when using TextMesh Pro vs. UI.Text / Dynamic Fonts which is much worst) but more importantly, using Auto-Sizing on all text object potentially results in different point size for each object which from a visual / design stand point looks bad.
      So again, Text Auto-sizing is best used to test for the optimum point size of a single text object where you will then use the resulting point size on all other text objects to get a consistent point size and visual across your text.

  • @arthas702
    @arthas702 7 років тому

    Some Asian languages that don't use space to separate words do not work with "Best Fit". Does TMP have any support for that?

    • @Zolran
      @Zolran  7 років тому

      That should be working fine but just to be certain, send me an example (via email) of the text you wish to use and I can provide a sample / image of it.

  • @kimstockton
    @kimstockton 8 років тому

    I'm having this issue with UI, especially on android, I don't know why Unity can't just hire you to integrate your solution instead of making their own buggy inferior implementation. There seems to be a lot of asset store plugins for various things which work much better than unity's own implementation, I don't know why they can't just integrate these things into core.

    • @Zolran
      @Zolran  8 років тому

      +Kim Stockton Unity does know about TextMesh Pro and I would certainly be open to talking with them about a potential integration or something. There are still tons of features that I would love to add to TextMesh Pro and given more resources (a developer or two) I could add those new features much faster.