文档

Unity Engine

Unity Engine

size

Gets the total size in bytes of all Android asset packs that had their status checked by this operation.
阅读时间1 分钟最后更新于 1 个月前

Definition

public ulong size { get; }

Remarks

Until the operation is complete and GetAssetPackStateAsyncOperation.isDone returns true, this returns 0. This value includes the size of both already downloaded and not yet installed Android asset packs. Read-only. Additional Resources: GetAssetPackStateAsyncOperation.isDone, GetAssetPackStateAsyncOperation.states.