unity3d Get


Get is getting data from web server. and new WWW("https://urlexample.com"); with a url but without a second parameter is doing a Get.


using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour 
    public string url = "http://google.com";
    IEnumerator Start() 
        WWW www = new WWW(url); // One get.
        yield return www;
        Debug.Log(www.text); // The data of the url.