private static bool OpenQuery(int instanceID, int line) { var query = EditorUtility.InstanceIDToObject(instanceID) as SearchQuery; if (query != null) { var qsWindow = QuickSearch.Create(); ExecuteQuery(qsWindow, query); qsWindow.ShowWindow(); } return(false); }
private static bool OpenQuery(int instanceID, int line) { var query = EditorUtility.InstanceIDToObject(instanceID) as SearchQuery; if (query != null) { var qsWindow = QuickSearch.Create(); qsWindow.SetFilteredProviders(query.providerIds); qsWindow.context.searchText = query.searchQuery; qsWindow.ShowWindow(); } return(false); }