Пример #1
0
        public static void ShowAsPopup(Rect buttonRect, SearchablePopup content)
        {
            SearchablePopupEditorWindow window = CreateInstance <SearchablePopupEditorWindow>();

            window.Init(buttonRect, content);
        }
Пример #2
0
 public SearchablePopupContent(Rect buttonRect, SearchablePopup searchable)
 {
     m_ButtonRect = buttonRect;
     m_Searchable = searchable;
 }