private void Init(Rect activatorRect, PopupWindowContent windowContent, PopupLocationHelper.PopupLocation[] locationPriorityOrder)
{
this.m_WindowContent = windowContent;
this.m_WindowContent.editorWindow = this;
this.m_ActivatorRect = GUIUtility.GUIToScreenRect(activatorRect);
this.m_LastWantedSize = windowContent.GetWindowSize();
this.m_LocationPriorityOrder = locationPriorityOrder;
Vector2 minSize = windowContent.GetWindowSize() + new Vector2(this.m_BorderWidth * 2f, this.m_BorderWidth * 2f);
base.position = PopupLocationHelper.GetDropDownRect(this.m_ActivatorRect, minSize, minSize, null, this.m_LocationPriorityOrder);
base.ShowPopup();
base.Repaint();
}