I have game object which loads textures from external directory.
Code part looks like this:
import System.IO;
private var stillsPathsLeft : String = Directory.GetFiles(“C:/MyApp/stills/Left/”,“*.jpg”);
private var urlLeft = “file://”+stillsPathsLeft[initImage];
private var stillsPathsReset = stillsPathsLeft.Length-1;
private var initImage: int = 0;
var leftGo: GameObject;
For standalone exe it works fine.
When I build web version of the application it’s not loading images.
Do I need to rewrite javascript specifically for web use or is there some built in way to reuse/convert the existing one?