Example #1
0
            public override void OnGUI(Rect rect)
            {
                m_Searchable.OnGUI(rect);

                // Force Repaint
                editorWindow.Repaint();
            }
Example #2
0
        protected void OnGUI()
        {
            Rect rect = new Rect(0f, 0f, position.width, position.height);

            if (m_Content != null)
            {
                m_Content.OnGUI(rect);
                GUI.Label(rect, GUIContent.none, "grey_border");
            }
            else
            {
                Close();
            }
        }