AudioClip.UnloadAudioData()
Unloads the audio data associated with the clip. This works only for AudioClips that are based on actual sound file assets.
Returns:
type | Description |
---|---|
boolean | bool Returns false if unloading failed. |
Usage
---@type AudioClip
local audioclip;
local val0 = audioclip.UnloadAudioData()