Version: 2018.2
Experimental: this API is experimental and might be changed or removed in the future.

ContextualMenu.PrepareForDisplay

Switch to Manual
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.