docs.unity.cn
    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

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, March 4, 2022
    Terms of use