Class TMP_Dropdown.OptionData | TextMesh Pro | 1.3.0
docs.unity.cn
    Show / Hide Table of Contents

    Class TMP_Dropdown.OptionData

    Inheritance
    Object
    TMP_Dropdown.OptionData
    Namespace: TMPro
    Syntax
    [Serializable]
    public class OptionData

    Constructors

    OptionData()

    Declaration
    public OptionData()

    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
    Type Description
    Sprite

    text

    Declaration
    public string text { get; set; }
    Property Value
    Type Description
    String
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX