Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetContent(UnityWebRequest)

Returns a copy of the native-memory buffer interpreted as a UTF8 string.
Read time 1 minuteLast updated 6 days ago

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.