Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

AudioClip.preloadAudioData

Switch to Manual
public bool preloadAudioData;

Description

Preloads audio data of the clip when the clip asset is loaded. When this flag is off, scripts have to call AudioClip.LoadAudioData() to load the data before the clip can be played. Properties like length, channels and format are available before the audio data has been loaded.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答