- Home /
Question by
Guilherm456 · Jul 25, 2015 at 11:23 PM ·
unity 5javascriptsystemwindows store appdirectory
This not reading folders in the Windows Store
My script does not work in Windows Store, but running inside the Unity it works. PS: Sorry my english
static var CaminhoAux :String= Application.dataPath+"/LastSurvivor";
function LerPastas(){
LinhasInf = Directory.GetDirectories(CaminhoAux+"/");
Linhas = new String[LinhasInf.Length];
for (i = 0; i < LinhasInf.Length; i++){
Linhas[i] = Path.GetFileName(LinhasInf[i]);
}
}
function Update(){
if(Salvos){
LerPastas();
}
}
Comment