private void OnEnable()
        {
            this.m_tabMgr = FindProFactory.CreateTabMgr();
            SearchResultTab tab = this.m_tabMgr.GetTab(SearchResultTabType.ResultsInFolder);

            tab.Drawer.SetDetailsButton(new Action <SearchResultDrawer, List <GameObject> >(this.ClickDetailsButton));
            this.m_btnShowHide    = FindProFactory.CreateShowHideButton();
            this.m_folderList     = FindProFactory.CreateFolderList();
            this.m_gameObjectList = FindProFactory.CreateGameObjectList();
            this.StartListenTaskEvents();
        }
Beispiel #2
0
        public static SearchResultTabMgr CreateTabMgr()
        {
            SearchResultTabMgr searchResultTabMgr = new SearchResultTabMgr();
            SearchResultTab    tab = new SearchResultTab(SearchResultTabType.ResultsInFolder, "Results In Project View");

            searchResultTabMgr.AddTab(tab);
            tab = new SearchResultTab(SearchResultTabType.ResultsInGameObject, "Results In Hierarchy View");
            searchResultTabMgr.AddTab(tab);
            searchResultTabMgr.Prepared();
            searchResultTabMgr.SetCurTab(SearchResultTabType.ResultsInFolder);
            return(searchResultTabMgr);
        }