Class SearcherAdapter | Searcher | 4.0.9
docs.unity3d.com
    Show / Hide Table of Contents

    Class SearcherAdapter

    Inheritance
    Object
    SearcherAdapter
    Namespace: UnityEditor.Searcher
    Syntax
    public class SearcherAdapter : ISearcherAdapter

    Constructors

    SearcherAdapter(String)

    Declaration
    public SearcherAdapter(string title)
    Parameters
    Type Name Description
    String title

    Properties

    HasDetailsPanel

    Declaration
    public virtual bool HasDetailsPanel { get; }
    Property Value
    Type Description
    Boolean
    Implements
    ISearcherAdapter.HasDetailsPanel

    Title

    Declaration
    public virtual string Title { get; }
    Property Value
    Type Description
    String
    Implements
    ISearcherAdapter.Title

    Methods

    Bind(VisualElement, SearcherItem, ItemExpanderState, String)

    Declaration
    public virtual VisualElement Bind(VisualElement element, SearcherItem item, ItemExpanderState expanderState, string query)
    Parameters
    Type Name Description
    VisualElement element
    SearcherItem item
    ItemExpanderState expanderState
    String query
    Returns
    Type Description
    VisualElement
    Implements
    ISearcherAdapter.Bind(VisualElement, SearcherItem, ItemExpanderState, String)

    InitDetailsPanel(VisualElement)

    Declaration
    public virtual void InitDetailsPanel(VisualElement detailsPanel)
    Parameters
    Type Name Description
    VisualElement detailsPanel
    Implements
    ISearcherAdapter.InitDetailsPanel(VisualElement)

    MakeItem()

    Declaration
    public virtual VisualElement MakeItem()
    Returns
    Type Description
    VisualElement
    Implements
    ISearcherAdapter.MakeItem()

    OnSelectionChanged(IEnumerable<SearcherItem>)

    Declaration
    public virtual void OnSelectionChanged(IEnumerable<SearcherItem> items)
    Parameters
    Type Name Description
    IEnumerable<SearcherItem> items
    Implements
    ISearcherAdapter.OnSelectionChanged(IEnumerable<SearcherItem>)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023