vendredi 26 août 2016

Wordpress url images with unity www class

Ok guys so i want my game to pull an image from a website powered by wordpress any information to help me set it up like the example below will greatly be appreciated.

http://ift.tt/1iBlctx

how would i go about doing it with wordpress so it can look like this

http://ift.tt/2bDNiVj

so when i make public string url = "http://ift.tt/2bDNiVj";

    // Start a download of the given URL
    WWW www = new WWW(url);

    // Wait for download to complete
    yield return www;

    // assign texture
    Renderer renderer = GetComponent<Renderer>();
    renderer.material.mainTexture = www.texture;

it can load my image in my gameobject what i really need help is how to setup a static page with just an image with worldpress




Aucun commentaire:

Enregistrer un commentaire