UI Dropdown and Dropdown – TextMeshPro
There are two Dropdown UI objects available, the UI Dropdown object packaged in Unity and the Dropdown—TextMeshPro object. 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 Dropdown—TextMeshPro uses Text - TextMeshPro objects. Due to this, I will discuss the two objects at the same time in this section. Additionally, because the two objects are identical in function, you will need to use Dropdown—TextMeshPro over the UI Dropdown if you want to include “fancy” text.
To create a UI Dropdown, select + | UI | Dropdown...