文档

Unity Engine

Unity Engine

resourceDataSize

Total size, in bytes, of the binary data stored in.resS and.resource files.
阅读时间1 分钟最后更新于 2 个月前

Definition

public ulong resourceDataSize { get; }

Remarks

Resource files contain large binary data such as textures, audio, and meshes that are referenced from serialized objects. Padding used for data alignment may cause actual files on disk to be slightly larger than the reported size. This size is calculated before any compression is applied if the file is inside a Unity Archive.