There's an Way to load content on folder Game_Data

I’m creating a game, and i need to make this:
Players can use custom textures, it’s Client-sided textures.
the compiled game has a Launcher, and a game_data folder, i created a folder called “Rez” into the game_data folder, there’s a way to load content of this folder? like loading screen???
my current script is this, but not working:

***public class LoadLocalTexture : MonoBehaviour {

    	public string TexName;
    	public Texture2D tex;
    	public string url;
    	WWW www;
    	public void Start() 
    	{
    		url = "file://" + Application.dataPath + "/Rez/" + TexName; 
    		StartCoroutine("Bolacha");
    	}
    
    	IEnumerator Bolacha()
    	{
    		www = new WWW(url); 
    		yield return www;
    		www.LoadImageIntoTexture(tex);
    	}
    
    	// Update is called once per frame
    	void Update () 
    	{
    		transform.GetComponent<Renderer>().material.mainTexture = tex as Texture;
    	}
    }***

// Try This one
using UnityEngine;
using System.Collections;
using System.IO;

    public class move : MonoBehaviour {
	public string TexName="1.jpg";
	public Texture2D tex;
	public string url;
	WWW www;

	public void Start()
	{
		url = "file://" + Application.dataPath + "/Rez/" + TexName;
		StartCoroutine("Bolacha");
		print (url);
	}
	IEnumerator Bolacha()
	{
		www = new WWW(url);
		yield return www;
		tex = www.texture;
		print (tex);
		transform.GetComponent<Renderer>().material.mainTexture = tex as Texture;
//		www.LoadImageIntoTexture(tex);
	}
	// Update is called once per frame
	void Update ()
	{
//		transform.GetComponent<Renderer>().material.mainTexture = tex as Texture;
	}
}









 there are two problem 
 1)you can also use "tex = www.texture;"  www.LoadImageIntoTexture(tex);.
 2)you are using upadate to assign texture, which mean after the "Start" 

your code keeps on assigning the empty texture to renderer but IEnumerator Bolacha() is still running and trying to load data from memory .The best way is to use tex after its been assigned or you can put the not null check in update

your code works, but it Loads textures INTO assets Folder, i’m trying to load the texture from game_data ‘-’ hope if helps

OOH it works, but only in client, editor not supports :stuck_out_tongue: