A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.unity3d.com/Packages/com.unity.ugui@1.0/api/UnityEngine.UI.Dropdown.OptionData.html below:

Class Dropdown.OptionData Inheritance

Dropdown.OptionData

Namespace: UnityEngine.UI Assembly: UnityEngine.UI.dll Syntax
[Serializable]
public class Dropdown.OptionData
Constructors OptionData() Declaration OptionData(string) Declaration
public OptionData(string text)
Parameters Type Name Description string text OptionData(string, Sprite)

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

Declaration
public OptionData(string text, Sprite image)
Parameters Type Name Description string text

Optional text for the option.

Sprite image

Optional image for the option.

OptionData(Sprite) Declaration
public OptionData(Sprite image)
Parameters Type Name Description Sprite image Properties image

The image associated with the option.

Declaration
public Sprite image { get; set; }
Property Value text

The text associated with the option.

Declaration
public string text { get; set; }
Property Value

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4