docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Dropdown.OptionDataList

    Class used internally to store the list of Dropdown.OptionData entries for the Dropdown.

    Inheritance
    object
    Dropdown.OptionDataList
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.UI
    Assembly: UnityEngine.UI.dll
    Syntax
    [Serializable]
    public class Dropdown.OptionDataList
    Remarks

    The usage of this class is not exposed in the runtime API. It's only relevant for the PropertyDrawer drawing the list of options.

    Constructors

    OptionDataList()

    Creates an OptionDataList with an empty options list.

    Declaration
    public OptionDataList()

    Properties

    options

    The list of options for the dropdown list.

    Declaration
    public List<Dropdown.OptionData> options { get; set; }
    Property Value
    Type Description
    List<Dropdown.OptionData>
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)