docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ComputeSize

    ComputeSize(IResourceLocation, ResourceManager)

    Compute the numder of bytes need to download for the specified location.

    Declaration
    long ComputeSize(IResourceLocation location, ResourceManager resourceManager)
    Parameters
    Type Name Description
    IResourceLocation location

    The location to compute the size for.

    ResourceManager resourceManager

    The object that contains all the resource locations.

    Returns
    Type Description
    long

    The size in bytes of the data needed to be downloaded.

    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)