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

DropdownMenu.PrepareForDisplay

Declaration

public void PrepareForDisplay(Experimental.UIElements.EventBase e);

Description

Update the status of all items by calling their status callback and remove the separators in excess. This is called just before displaying the menu.