Version: 2022.3
언어: 한국어

DownloadHandlerBufferConstructor

매뉴얼로 전환
public DownloadHandlerBuffer ();

설명

Default constructor.

using System.Collections;
using UnityEngine;
using UnityEngine.Networking;

public class Example : MonoBehaviour { IEnumerator Start() { using (var uwr = new UnityWebRequest("https://unity3d.com/", UnityWebRequest.kHttpVerbGET)) { uwr.downloadHandler = new DownloadHandlerBuffer(); yield return uwr.SendWebRequest(); Debug.Log(uwr.downloadHandler.text); } } }