docs.unity.cn
    Show / Hide Table of Contents

    Struct ProvideHandle

    Container for all data need by providers to fulfill requests.

    Namespace: UnityEngine.ResourceManagement.ResourceProviders
    Syntax
    public struct ProvideHandle

    Properties

    Name Description
    DependencyCount

    Number of dependencies.

    Location

    The location for the request.

    ResourceManager

    The ResourceManager used to create the operation.

    Type

    The requested object type.

    Methods

    Name Description
    Complete<T>(T, Boolean, Exception)

    Called to complete the operation.

    GetDependencies(IList<Object>)

    Get the depedency objects.

    GetDependency<TDepObject>(Int32)

    Get a specific dependency object.

    SetDownloadProgressCallbacks(Func<DownloadStatus>)

    Set the func for handling download progress requests.

    SetProgressCallback(Func<Single>)

    Set the func for handling progress requests.

    SetWaitForCompletionCallback(Func<Boolean>)

    Set the func for handling a request to wait for the completion of the operation

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