class in UnityEngine.Experimental.UIElements
切换到手册A drop-down menu.
| DropdownMenu | 构造函数。 |
| AppendAction | Add an item that will execute an action in the drop-down menu. The item is added at the end of the current item list. |
| AppendSeparator | 在菜单中添加一条分隔线。分隔线添加在当前项目列表末尾。 |
| InsertAction | Add an item that will execute an action in the drop-down menu. The item is added at the end of the specified index in the list. |
| InsertSeparator | 在菜单中添加一条分隔线。分隔线添加在列表中指定索引末尾。 |
| MenuItems | 获取菜单项列表。 |
| PrepareForDisplay | 通过调用项目的状态回调更新所有项目状态并删除多余分隔线。这是在显示菜单之前调用的。 |
| RemoveItemAt | Remove the menu item at index. |