unity3d Get


Example

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.

i.e.

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.
    }
}