internal static void Show(Rect activatorRect, PopupWindowContent windowContent, PopupLocationHelper.PopupLocation[] locationPriorityOrder, ShowMode showMode)
{
if (PopupWindow.ShouldShowWindow(activatorRect))
{
PopupWindow popupWindow = ScriptableObject.CreateInstance <PopupWindow>();
if (popupWindow != null)
{
popupWindow.Init(activatorRect, windowContent, locationPriorityOrder, showMode);
}
GUIUtility.ExitGUI();
}
}