Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 10 days ago

Definition

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