docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetResourceProvider

    GetResourceProvider(Type, IResourceLocation)

    Gets the appropriate IResourceProvider for the given location and type.

    Declaration
    public IResourceProvider GetResourceProvider(Type t, IResourceLocation location)
    Parameters
    Type Name Description
    Type t

    The desired object type to be loaded from the provider.

    IResourceLocation location

    The resource location.

    Returns
    Type Description
    IResourceProvider

    The resource provider. Or null if an appropriate provider cannot be found

    In This Article
    • GetResourceProvider(Type, IResourceLocation)
    Back to top
    Copyright © 2025 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)