Exemplo n.º 1
0
 public string DrawLayout(string cache, System.Action OnSearch, GUILayoutOption[] InputFieldLayout = null, GUILayoutOption[] SearchButtonLayout = null)
 {
     GUILayout.BeginHorizontal();
     EditingCache = temp.OnGUI(cache, InputFieldLayout);
     GUILayout.EndHorizontal();
     return(cache);
 }
 void SearchBar(Rect rect)
 {
     treeView.Filter.textFilter = treeView.searchString = m_SearchField.OnGUI(rect, treeView.searchString).Trim();
 }