Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


preloadAudioData

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 11 days ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public bool preloadAudioData