docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct DownloadStatus

    Contains download information for async operations.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: UnityEngine.ResourceManagement.AsyncOperations
    Assembly: solution.dll
    Syntax
    public struct DownloadStatus

    Fields

    Name Description
    DownloadedBytes

    The number of bytes downloaded by the operation and all of its dependencies.

    IsDone

    Is the operation completed. This is used to determine if the computed Percent should be 0 or 1 when TotalBytes is 0.

    TotalBytes

    The total number of bytes needed to download by the operation and dependencies.

    Properties

    Name Description
    Percent

    Returns the computed percent complete as a float value between 0 & 1. If TotalBytes == 0, 1 is returned.

    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)