Init() private method

private Init ( Rect activatorRect, PopupWindowContent windowContent, PopupLocationHelper locationPriorityOrder ) : void
activatorRect UnityEngine.Rect
windowContent PopupWindowContent
locationPriorityOrder PopupLocationHelper
return void
        internal new static void Show(Rect activatorRect, PopupWindowContent windowContent, PopupLocation[] locationPriorityOrder)
        {
            if (windowContent == null)
            {
                throw new System.ArgumentNullException(nameof(windowContent));
            }

            if (s_PopupWindowWithoutFocus != null)
            {
                s_PopupWindowWithoutFocus.CloseContent();
            }

            if (ShouldShowWindow(activatorRect))
            {
                if (s_PopupWindowWithoutFocus == null)
                {
                    s_PopupWindowWithoutFocus = CreateInstance <PopupWindowWithoutFocus>();
                }

                s_PopupWindowWithoutFocus.Init(activatorRect, windowContent, locationPriorityOrder, ShowMode.PopupMenu, false);
            }
            else
            {
                windowContent.OnClose();
            }
        }
 internal static void Show(Rect activatorRect, PopupWindowContent windowContent, PopupLocationHelper.PopupLocation[] locationPriorityOrder)
 {
     if (ShouldShowWindow(activatorRect))
     {
         if (s_PopupWindowWithoutFocus == null)
         {
             s_PopupWindowWithoutFocus = ScriptableObject.CreateInstance <PopupWindowWithoutFocus>();
         }
         s_PopupWindowWithoutFocus.Init(activatorRect, windowContent, locationPriorityOrder);
     }
 }
        internal new static void Show(Rect activatorRect, PopupWindowContent windowContent, PopupLocation[] locationPriorityOrder)
        {
            if (ShouldShowWindow(activatorRect))
            {
                if (s_PopupWindowWithoutFocus == null)
                {
                    s_PopupWindowWithoutFocus = CreateInstance <PopupWindowWithoutFocus>();
                }

                s_PopupWindowWithoutFocus.Init(activatorRect, windowContent, locationPriorityOrder, ShowMode.PopupMenu, false);
            }
        }