Class TMP_Dropdown.OptionData
Inheritance
TMP_Dropdown.OptionData
Namespace: TMPro
Syntax
[Serializable]
public class OptionData
Constructors
OptionData()
Declaration
OptionData(Sprite)
Declaration
public OptionData(Sprite image)
Parameters
Type |
Name |
Description |
Sprite |
image |
|
OptionData(String)
Declaration
public OptionData(string text)
Parameters
Type |
Name |
Description |
String |
text |
|
OptionData(String, Sprite)
Declaration
public OptionData(string text, Sprite image)
Parameters
Type |
Name |
Description |
String |
text |
|
Sprite |
image |
|
Properties
image
Declaration
public Sprite image { get; set; }
Property Value
text
Declaration
public string text { get; set; }
Property Value