GetContent(UnityWebRequest)
Returns a copy of the native-memory buffer interpreted as a UTF8 string.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Networking
- Assembly: UnityEngine.UnityWebRequestModule
public static string GetContent(UnityWebRequest www)
Parameters
A finished UnityWebRequest object with DownloadHandlerBuffer attached.
Returns
Type | Description |
|---|---|
| string | The same as text |
Remarks
A static function provided for convenience; equivalent to ((DownloadHandlerBuffer)www.downloadHandler).text.