Library/PackageCache/com.unity.quicksearch@1.6.0-preview.8/Editor/QuickSearch.cs
/// <summary>
/// Creates a new instance of a Quick Search window but does not show it immediately allowing a user to setup filter before showing the window.
/// </summary>
/// <param name="reuseExisting">If true, try to reuse an already existing instance of QuickSearch. If false will create a new QuickSearch window.</param>
/// <returns>Returns the Quick Search editor window instance.</returns>
Creates a new instance of a Quick Search window but does not show it immediately allowing a user to setup filter before showing the window.
Creates a new instance of a Quick Search window but does not show it immediately allowing a user to setup filter before showing the window .
public static QuickSearch Create(bool reuseExisting = false)
        {
            s_FocusedWindow = focusedWindow;
            var qsWindow = reuseExisting && HasOpenInstances<QuickSearch>() ? GetWindow<QuickSearch>() : CreateInstance<QuickSearch>();
            qsWindow.multiselect = true;
            qsWindow.saveFilters = true;
            qsWindow.searchTopic = "anything";
            qsWindow.sendAnalyticsEvent = true; 
            return qsWindow;
        }
public static QuickSearch Create ( bool reuseExisting = false ) { s_FocusedWindow = focusedWindow ; var qsWindow = reuseExisting && HasOpenInstances < QuickSearch > ( ) ? GetWindow < QuickSearch > ( ) : CreateInstance < QuickSearch > ( ) ; qsWindow . multiselect = true ; qsWindow . saveFilters = true ; qsWindow . searchTopic = " " ; qsWindow . sendAnalyticsEvent = true ; return qsWindow ; }
Creates a new instance of a Quick Search window but does not show it immediately allowing a user to setup filter before showing the window.
Creates a new instance of a Quick Search window but does not show it immediately allowing a user to setup filter before showing the window .
// Ensure we won't send events while doing a domain reload.
Returns the Quick Search editor window instance.
Returns the Quick Search editor window instance .
reuseExisting
bool
If true, try to reuse an already existing instance of QuickSearch. If false will create a new QuickSearch window.
If true try to reuse an already existing instance of QuickSearch . If false will create a new QuickSearch window .