AdvancedDropdownItem

class in UnityEditor.IMGUI.Controls

/

Implemented in:UnityEditor

Description 描述

Items that build the drop-down list.

Properties 属性

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 Methods 公共方法

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