docs.unity3d.com
    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, 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
    Int64

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

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023