Back to API Reference
Struct
UniTextDropdown.OptionData
sealed
Implements:IEquatable<UniTextDropdown.OptionData>
Text and optional sprite for one option; replace the entry through Options to update its presentation.
public Sprite Image{ get }Gets the optional sprite.
[ctor]public OptionData(string text, Sprite image = null)Creates an option with a caption and an optional sprite.
[ctor]public OptionData(Sprite image)Creates an image-only option.
public bool Equals(UniTextDropdown.OptionData other)