Version: 2019.1

Dropdown.OptionDataConstructor

Switch to Manual
public Dropdown.OptionData ();
public Dropdown.OptionData (string text);
public Dropdown.OptionData (Sprite image);
public Dropdown.OptionData (string text, Sprite image);

Parameters

textOptional text for the option.
imageOptional image for the option.

Description

Create an object representing a single option for the dropdown list.