docs.unity.cn
    Show / Hide Table of Contents

    Method ProvideResource

    ProvideResource<TObject>(IResourceLocation)

    Load the TObject at the specified location.

    Declaration
    public AsyncOperationHandle<TObject> ProvideResource<TObject>(IResourceLocation location)
    Parameters
    Type Name Description
    IResourceLocation location

    Location to load.

    Returns
    Type Description
    AsyncOperationHandle<TObject>

    An async operation.

    Type Parameters
    Name Description
    TObject

    Object type to load.

    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use