docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method HasProvider

    HasProvider<TProvider>(IFunctionalitySubscriber<TProvider>)

    Check whether this subscriber has a provider of the given type

    Declaration
    public static bool HasProvider<TProvider>(this IFunctionalitySubscriber<TProvider> subscriber) where TProvider : class, IFunctionalityProvider
    Parameters
    Type Name Description
    IFunctionalitySubscriber<TProvider> subscriber

    The functionality subscriber on which to check for a provider

    Returns
    Type Description
    bool

    True if the subscriber has a provider of the given type

    Type Parameters
    Name Description
    TProvider

    The provider type for which to check

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)