文档

Unity Engine

Unity Engine

preloadAudioData

[DEPRECATED]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.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
警告
Removed. Preload audio data has been moved to AudioImporter.SampleSettings as a per platform local setting
public bool preloadAudioData { get; set; }