Version: 2019.1
public static AudioClip GetContent (Networking.UnityWebRequest www);

Parameters

wwwA finished UnityWebRequest object with DownloadHandlerAudioClip attached.

Returns

AudioClip The same as DownloadHandlerAudioClip.audioClip

Description

Returns the downloaded AudioClip, or null.

A static function provided for convenience; equivalent to ((DownloadHandlerAudioClip)www.downloadHandler).audioClip.