예제 #1
0
        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);
        }
예제 #2
0
        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);
        }