fix again
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user