1. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice
  2. Unity 5.6 is now released.
    Dismiss Notice
  3. Check out all the fixes for 5.5 in patch releases 1 & 2.
    Dismiss Notice
  4. Get further faster with the Unity Plus Accelerator Pack, free for new Unity Plus subscribers for a limited time. Click here for more details.
    Dismiss Notice
  5. Learn how you'll soon be able to publish your games to China in four simple steps with Xiaomi. Sign up now for early access.
    Dismiss Notice

Text Mesh Pro Outside of Canvas

Discussion in 'Unity UI & TextMesh Pro' started by Quingu, Apr 21, 2017.

  1. Quingu


    Jan 30, 2013
    I'm considering rewriting my UI backend to avoid using Unity UI at all. This is because its performance is not satisfying. Can Text Mesh Pro input field be used outside of a Canvas? I need this since I want to have custom UI in world space. Will TMP objects batch fast outside of Unity UI context?
  2. methos5k


    Aug 3, 2015
    I'm pretty sure that I read a post where someone else was asking this, and the author responded that he might look into it if there's a demand, and when he has time.
    No idea about your second question, aside from having read the author say he always strives for equal or better performance (in general) to comparable Unity tools (be it UI or TextMesh).
  3. Stephan_B


    Unity Technologies

    Feb 26, 2017
    The normal TextMeshPro component uses the Mesh Renderer and as such will benefit from dynamic batching. For object in world space, using this component is much more efficient than using a bunch of Canvas in World Space

    My suggestion is to just grab the product and play around with it. Take a look at the example scene "Benchmark Floating Text".

    The TMP Input Field does not work outside of the Canvas although when I have time, I can certainly look into that as almost none of the functionality is related to canvas stuff.