docs.unity3d.com
    Show / Hide Table of Contents

    Struct ProvideHandle

    Container for all data need by providers to fulfill requests.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    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
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023