示例#1
0
 private void DoSearchToggle(ShowSearchField field)
 {
     if (this.selectedPage == Page.History)
     {
         if (this.m_SearchField.DoGUI())
         {
             this.asHistoryWin.FilterItems(false);
         }
         GUILayout.Space(10f);
     }
 }
示例#2
0
 private void SetShownSearchField(ShowSearchField newShow)
 {
     EditorGUI.FocusTextInControl("SearchFilter");
     this.m_SearchField.Show = false;
     this.m_ShowSearch = newShow;
     this.m_SearchField.Show = true;
     this.asHistoryWin.FilterItems(false);
 }