AdvancedDropdownItem

class in UnityEditor.IMGUI.Controls

Switch to Manual

Description

Items that build the drop-down list.

Variables

childrenThe 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.

Public Functions

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