docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetOrCreateProviderInstance

    GetOrCreateProviderInstance(Type, Type)

    Get or create an instance of the given provider type

    Declaration
    public static IFunctionalityProvider GetOrCreateProviderInstance(Type implementorType, Type providerType)
    Parameters
    Type Name Description
    Type implementorType

    The specific provider implementation type

    Type providerType

    The provider interface type

    Returns
    Type Description
    IFunctionalityProvider

    The new or existing functionality provider

    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)