GetContent(UnityWebRequest)
Returns a copy of the native-memory buffer interpreted as a UTF8 string.
읽는 시간 1분최근 업데이트: 21일 전
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 DownloadHandler.text |
Remarks
A static function provided for convenience; equivalent to ((DownloadHandlerBuffer)www.downloadHandler).text.