fix again

Main
Arneth 2 years ago
parent 77a516fadc
commit b7e24f89db

@ -133,7 +133,12 @@ public class UnityFile
name = Pathing.ToPlatformAssetBundleName(name); name = Pathing.ToPlatformAssetBundleName(name);
} }
//string text = Pathing.appContentDataPath + localpath + name; //string text = Pathing.appContentDataPath + localpath + name;
string text = "file://localhost/" + HelperFunctions.CreateFilePath(("/" + localpath+ name)).TrimStart('/'); string text = HelperFunctions.CreateFilePath("/" + localpath + name);
if (Application.platform != RuntimePlatform.Android)
{
text = "file://localhost/" + text.TrimStart('/');
}
Debug.LogWarning("Loader: "+ text); Debug.LogWarning("Loader: "+ text);
return text; return text;
} }

Loading…
Cancel
Save