Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AdvancedDropdownItem

Items that build the drop-down list.
Read time 1 minuteLast updated 10 days ago

Definition

public class AdvancedDropdownItem : IComparable

Properties

Property

Description

childListThe list of child items of this item.
enabledTrue if the item is enabled.
iconIf set, this icon will be rendered to the left of the item name.
idThe unique identifier for an item.
nameName shown for this item when rendered.

Methods

Method

Description

AddChildAdds the given AdvancedDropdownItem child to the children list.
AddSeparatorAdds a separator to the list of children in the drop-down.