public CreateView() { searchField = new SearchFieldDrawer(); searchField.onValueChange += (str) => { keySearchStr = str; }; }
public GroupByKeyView() { SearchField = new SearchFieldDrawer(); SearchField.onValueChange += (str) => { searchStr = str; }; }
private void OnEnable() { sear = new SearchFieldDrawer() { value = "", }; sear.onValueChange += (str) => { search = str; }; }
public ToolBarSearchField(Action <string> onValueChange, string value, int width = 100, Func <bool> canshow = null) : base(null, width, canshow) { this.onValueChange = onValueChange; s = new SearchFieldDrawer("", null, 0); s.onValueChange += (str) => { if (this.onValueChange != null) { this.onValueChange(str); } value = str; }; }
public override void OnEnable() { searcher = new SearchFieldDrawer("", null, 0); searcher.onEndEdit += (str) => { searchText_module = str; if (!EditorApplication.isPlaying) { return; } moudle = Framework.env1.modules.FindModule <UIModule>(str); if (moudle == null) { EditorWindow.focusedWindow.ShowNotification(new GUIContent("Not Find,Moudle Must Bind Framework First")); } }; }
public GroupView() { search = new SearchFieldDrawer("", Enum.GetNames(typeof(SearchType)), 0); search.onModeChange += (value) => { _searchType = (SearchType)value; }; search.onValueChange += (value) => { _search = value; }; }