docs.unity3d.com
    目次を表示する/隠す

    Method ComputeSize

    ComputeSize(IResourceLocation, ResourceManager)

    Computes the amount of data needed to be downloaded for this bundle.

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

    The location of the bundle.

    ResourceManager resourceManager

    The object that contains all the resource locations.

    Returns
    Type Description
    Int64

    The size in bytes of the bundle that is needed to be downloaded. If the local cache contains the bundle or it is a local bundle, 0 will be returned.

    Implements
    ILocationSizeData.ComputeSize(IResourceLocation, ResourceManager)
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)