I have this simple Line of Code that retrieves a texture from a folder.
var www = new WWW("file://" + folder + "/pic001.png");
It finds pic001.png fine. How do I make it find any file with the .png file extension?
or what ever extension is needed.
I thought it would be like below but it fails to find the image “.png”.
var www = new WWW("file://" + folder + ".png");
Thanks, Tim.