Version: 2017.2

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

text Optional text for the option.
image Optional image for the option.

Description

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