How to put image on plane from the Outside folder ?

Hi All,

I want to take an image from one of the drive in my system and put on the plane in unity 3D dynamically using c#.

Please suggest me in this.

Thank you in advance …

If you know the path of the image, you can simply pass the file path to this function and assign the image to material.

    IEnumerator LoadImage(string url)
    {
        url = @"file://" + url;
        WWW www = new WWW(url);
        yield return www;
        renderer.material.mainTexture = www.texture;

    }

otherwise you should use a file browser and pass the file path achieved from the file browser to the function:

StartCoroutine(LoadImage(URL));