Class SearchFilter | Quick Search | 1.5.4
docs.unity3d.com
    Show / Hide Table of Contents

    Class SearchFilter

    Inheritance
    Object
    SearchFilter
    Namespace: Unity.QuickSearch
    Syntax
    public class SearchFilter

    Constructors

    SearchFilter()

    Declaration
    public SearchFilter()

    Properties

    allActive

    Declaration
    public bool allActive { get; }
    Property Value
    Type Description
    Boolean

    Providers

    Declaration
    public List<SearchProvider> Providers { get; set; }
    Property Value
    Type Description
    List<SearchProvider>

    Methods

    GetProviderNameWithFilter(SearchProvider)

    Declaration
    public static string GetProviderNameWithFilter(SearchProvider provider)
    Parameters
    Type Name Description
    SearchProvider provider
    Returns
    Type Description
    String

    GetSubCategories(SearchProvider)

    Declaration
    public List<NameEntry> GetSubCategories(SearchProvider provider)
    Parameters
    Type Name Description
    SearchProvider provider
    Returns
    Type Description
    List<NameEntry>

    IsEnabled(String, String)

    Declaration
    public bool IsEnabled(string providerId, string subCategory = null)
    Parameters
    Type Name Description
    String providerId
    String subCategory
    Returns
    Type Description
    Boolean

    ResetFilter(Boolean, Boolean)

    Declaration
    public void ResetFilter(bool enableAll, bool preserveSubFilters = false)
    Parameters
    Type Name Description
    Boolean enableAll
    Boolean preserveSubFilters

    SetExpanded(Boolean, String)

    Declaration
    public void SetExpanded(bool isExpanded, string providerId)
    Parameters
    Type Name Description
    Boolean isExpanded
    String providerId

    SetFilter(Boolean, String, String, Boolean)

    Declaration
    public void SetFilter(bool isEnabled, string providerId, string subCategory = null, bool preserveSubFilters = false)
    Parameters
    Type Name Description
    Boolean isEnabled
    String providerId
    String subCategory
    Boolean preserveSubFilters
    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