private static ShouldShowWindow ( |
||
activatorRect | ||
return | bool |
internal static void Show(Rect activatorRect, PopupWindowContent windowContent, PopupLocationHelper.PopupLocation[] locationPriorityOrder) { if (PopupWindowWithoutFocus.ShouldShowWindow(activatorRect)) { if (PopupWindowWithoutFocus.s_PopupWindowWithoutFocus == null) { PopupWindowWithoutFocus.s_PopupWindowWithoutFocus = ScriptableObject.CreateInstance <PopupWindowWithoutFocus>(); } PopupWindowWithoutFocus.s_PopupWindowWithoutFocus.Init(activatorRect, windowContent, locationPriorityOrder); } }