Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AudioClip.LoadAudioData

Switch to Manual
public function LoadAudioData(): bool;

Returns

bool Returns true if loading succeeded.

Description

Loads the audio data of a clip. Clips that have "Preload Audio Data" set will load the audio data automatically.