Interface ISearchView | Quick Search | 1.5.4
docs.unity.cn
    Show / Hide Table of Contents

    Interface ISearchView

    Search view interface used by the search context to execute a few UI operations.

    Namespace: Unity.QuickSearch
    Syntax
    public interface ISearchView

    Methods

    Focus()

    Make sure the search is now focused.

    Declaration
    void Focus()

    PopFilterWindow()

    Open the associated filter window.

    Declaration
    void PopFilterWindow()

    Refresh()

    Triggers a refresh of the search view, re-fetching all the search items from enabled search providers.

    Declaration
    void Refresh()

    SetSearchText(String)

    Sets the search query text.

    Declaration
    void SetSearchText(string searchText)
    Parameters
    Type Name Description
    String searchText

    Text to be displayed in the search view.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX