GetContent(UnityWebRequest)
Returns the downloaded AudioClip, or null.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Networking
- Assembly: UnityEngine.UnityWebRequestAudioModule
public static AudioClip GetContent(UnityWebRequest www)
Parameters
A finished UnityWebRequest object with DownloadHandlerAudioClip attached.
Returns
Type | Description |
|---|---|
| AudioClip | The same as _audioClip |
Remarks
A static function provided for convenience; equivalent to ((DownloadHandlerAudioClip)www.downloadHandler).audioClip.