Version: 2023.2

EditorMenuExtensions

class in UnityEditor.UIElements

切换到手册

描述

Provides methods to extend DropdownMenu with Editor features.

静态函数

DisplayEditorMenuDisplays dropdown menu as a contextual menu.
SetDescriptorAdds a descriptor to a dropdown menu.