Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

OptionData

class in UnityEngine.UI

Description

Class to store the text and/or image of a single option in the dropdown list.

Properties

imageThe image associated with the option.
textThe text associated with the option.

Constructors

Dropdown.OptionDataCreate an object representing a single option for the dropdown list.

Did you find this page useful? Please give it a rating: