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.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答