hi guys,
i load png files with www class and create texture with www.texture, this work nice into
my unity project but in my build i have error in www this my error:
www.error → could not open screenshot1.png
i am confused :s
this is my code:
function reload_pic()
{
url = "file://"+path;
www = new WWW(url);
yield www;
if(www.error != null)
{
error_msg = www.error;
}
else if(www.isDone)
{
pic_texture = www.texture;
}
}