文档

Unity Engine

Unity Engine

CompressionLevel

Enum to indicate if compression should emphasize speed or size.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Removed. UnityEditor.Build.Content.CompressionLevel has been deprecated. Use UnityEngine.CompressionLevel instead
Upgrade to CompressionLevel
public enum CompressionLevel

Remarks

Note: this enum and its values exist to provide low-level support for the Scriptable Build Pipeline package. This is intended for internal use only; use the Scriptable Build Pipeline package to implement a fully featured build pipeline. You can install this via the Unity Package Manager.

Fields

Value

Description

FastContent should be compressed as fast.
FastestContent should be compressed as fast as possible.
HighContent should be compressed small.
MaximumContent should be compressed as small as possible.
NoneNone. Defaults to Normal.
NormalContent should be ballanced between size and speed.