This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

DropdownMenu.MenuItems

Declaration

public List<MenuItem> MenuItems();

Returns

List<MenuItem> The list of items in the menu.

Description

Get the list of menu items.