UI Dropdown and TextMeshPro – Dropdown

There are two Dropdown UI objects available, the UI Dropdown object packaged in Unity and the TextMeshPro—Dropdown object that comes with the TextMeshPro asset we discussed in Chapter 6Text, Images, and TextMesh Pro-Text. Both the Dropdown objects allow the user to select from a list of options. The list becomes visible when the Dropdown is clicked on. Once an object is selected from the list, the list will collapse, making the chosen option visible within the Dropdown (if desired).

The two Dropdown options are pretty much identical in the way they work. The only difference between the two is the UI Dropdown uses UI Text objects to display text while the TextMeshPro - Dropdown uses TextMeshPro - Text ...

Get Mastering UI Development with Unity 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.