文档

Unity Engine

Unity Engine

GetContent(UnityWebRequest)

Returns a copy of the native-memory buffer interpreted as a UTF8 string.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static string GetContent(UnityWebRequest www)

Parameters

A finished UnityWebRequest object with DownloadHandlerBuffer attached.

Returns

Type

Description

stringThe same as text

Remarks

A static function provided for convenience; equivalent to ((DownloadHandlerBuffer)www.downloadHandler).text.