docs.unity3d.com
Search Results for

    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.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.ResourceManagement.ResourceProviders
    Assembly: Unity.ResourceManager.dll
    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, bool, Exception)

    Called to complete the operation.

    GetDependencies(IList<object>)

    Get the depedency objects.

    GetDependency<TDepObject>(int)

    Get a specific dependency object.

    SetDownloadProgressCallbacks(Func<DownloadStatus>)

    Set the func for handling download progress requests.

    SetProgressCallback(Func<float>)

    Set the func for handling progress requests.

    SetWaitForCompletionCallback(Func<bool>)

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

    In This Article
    Back to top
    Copyright © 2024 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)