Version: 2023.2

BuildCompression

struct in UnityEngine

切换到手册

描述

包含有关在构建时进行资源包压缩和在运行时进行再压缩所支持的压缩方法、压缩级别和块大小的信息。

The formats that are currently supported are exposed with static properties. There are three supported BuildCompression types for compressing AssetBundles during builds (LZ4, LZMA and Uncompressed) and two supported recompression methods for runtime (LZ4Runtime and UncompressedRuntime).

See Also: AssetBundle.RecompressAssetBundleAsync, AssetBundles compression, BuildAssetBundleOptions.ChunkBasedCompression, BuildAssetBundleOptions.UncompressedAssetBundle, BuildOptions.CompressWithLz4, CompressionType, Caching.

静态变量

LZ4LZ4HC“基于块”的压缩。
LZ4Runtime用于运行时再压缩的 LZ4 压缩。
LZMALZMA 压缩。
Uncompressed未压缩的资源包。
UncompressedRuntime未压缩的资源包。
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961