GetContent(UnityWebRequest)
Returns a copy of the native-memory buffer interpreted as a UTF8 string.
阅读时间1 分钟最后更新于 1 个月前
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.