docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AccumulateContentSize

    AccumulateContentSize(ref int, ref long, ref long, ref long)

    Computes the size of content.

    Declaration
    public bool AccumulateContentSize(ref int entryCount, ref long totalBytes, ref long cachedBytes, ref long uncachedBytes)
    Parameters
    Type Name Description
    int entryCount

    The total number of resolved locations in the service.

    long totalBytes

    The total number of bytes of the data.

    long cachedBytes

    The total number of bytes already cached by the download service.

    long uncachedBytes

    The total number of bytes not cached by the download service.

    Returns
    Type Description
    bool

    Returns true if successful.

    AccumulateContentSize(in FixedString512Bytes, ref int, ref long, ref long, ref long)

    Computes the size of the content set specified.

    Declaration
    public void AccumulateContentSize(in FixedString512Bytes setName, ref int entryCount, ref long totalBytes, ref long cachedBytes, ref long uncachedBytes)
    Parameters
    Type Name Description
    FixedString512Bytes setName

    The content set to compute the size of.

    int entryCount

    The total number of resolved locations in the service.

    long totalBytes

    The total number of bytes of the data.

    long cachedBytes

    The total number of bytes already cached by the download service.

    long uncachedBytes

    The total number of bytes not cached by the download service.

    In This Article
    • AccumulateContentSize(ref int, ref long, ref long, ref long)
    • AccumulateContentSize(in FixedString512Bytes, ref int, ref long, ref long, ref long)
    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)