10
UI Text and TextMeshPro
We’ve spent some time with UI Text objects already as they are the one of most basic graphical UI elements. We discussed them briefly in Chapter 6 because it was pretty hard to start laying out UI without having anything to display visually. Text objects are also always children of new Buttons, which we discussed in the previous chapter. However, we haven’t explored the properties of Text objects or how to work with them in code.
In this chapter, we will explore UI Text objects more thoroughly. We will also discuss Text-TextMeshPro objects and how they allow for even more control of the text in our game.
In this chapter, we will discuss the following topics:
- Using UI Text objects and setting their properties
- Using ...
Get Mastering UI Development with Unity - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.