Caption properties

There are two properties related to the caption or the option that is currently selected.

The Caption Text property references the Text component of the GameObject that will display the currently selected option's text. By default, this is the Text component of the Label child. The Caption Text is optional, so if you do not want the currently selected option displayed within the Dropdown area (and only within the Dropdown list), simply change the Caption Text property to None (Text).

The Caption Image property holds the Image component of the GameObject that will display the currently selected option's image. Nothing is assigned to this property by default and, you will note that the Dropdown does not have a child that ...

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.