docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ObjectPickerItem

    One candidate row in an ObjectPicker.

    Inheritance
    object
    ObjectPickerItem
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AppUI.UI
    Assembly: Unity.AppUI.dll
    Syntax
    public class ObjectPickerItem

    Fields

    iconName

    Leading glyph, used when thumbnail is null.

    Declaration
    public string iconName
    Field Value
    Type Description
    string

    id

    Stable identifier. This is what value holds.

    Declaration
    public string id
    Field Value
    Type Description
    string
    Remarks

    The empty string is reserved: it is the cleared reference, shown as the noneLabel row.

    label

    The name shown in the row and in the preview.

    Declaration
    public string label
    Field Value
    Type Description
    string

    path

    Preview metadata — the asset's path.

    Declaration
    public string path
    Field Value
    Type Description
    string

    tab

    Which tab this item belongs to, matching an value. Items with no tab show under every tab.

    Declaration
    public string tab
    Field Value
    Type Description
    string

    thumbnail

    Cover image. Fills the row and preview thumbnail when set, in preference to iconName.

    Declaration
    public Texture2D thumbnail
    Field Value
    Type Description
    Texture2D

    type

    Preview metadata — the asset's type name.

    Declaration
    public string type
    Field Value
    Type Description
    string
    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)