Interface ILocationSizeData | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Interface ILocationSizeData

    Interface for computing size of loading a location.

    Namespace: UnityEngine.ResourceManagement.ResourceLocations
    Syntax
    public interface ILocationSizeData

    Methods

    ComputeSize(IResourceLocation)

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

    Declaration
    long ComputeSize(IResourceLocation loc)
    Parameters
    Type Name Description
    IResourceLocation loc

    The location to compute the size for.

    Returns
    Type Description
    System.Int64

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

    Back to top Copyright © 2015-2018 Unity
    Generated by DocFX