Version: 2022.2

AudioClipLoadType

enumeration

切换到手册

描述

确定音频剪辑的加载方式。

Determines whether the audio clip will be either loaded in memory in compressed form, such that every playback will decode the data on the fly ("CompressedInMemory"), decompressed at Scene startup such that the clip can be played back at very low CPU usage and the audio data in it can be modified ("DecompressOnLoad"), or streamed directly from the disk which will typically result in the lowest memory usage, as only the data for a short stream buffer needs to be kept in memory ("Streaming").

变量

DecompressOnLoad加载音频剪辑时解压缩音频数据。
CompressedInMemory剪辑的音频数据将以压缩格式保留在内存中。
Streaming从磁盘流式传输音频数据。
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961