WWW.GetAudioClip

function GetAudioClip (threeD : boolean) : AudioClip

function GetAudioClip (threeD : boolean, stream : boolean) : AudioClip

function GetAudioClip (threeD : boolean, stream : boolean, audioType : AudioType) : AudioClip

Parameters

NameDescription
threeD Use this to specify whether the clip should be a 2D or 3D clip
stream Sets whether the clip should be completely downloaded before it's ready to play (false) or the stream can be played even if only part of the clip is downloaded (true).
set The AudioType of the content your downloading. If this is not set Unity will try to determine the type from URL.

Description

Returns an AudioClip generated from the downloaded data (Read Only).

The data must be an audio clip in Ogg(Web/Standalones), MP3(phones), WAV, XM, IT, MOD or S3M format.