switch (Application.platform)
{
case RuntimePlatform.Android:
return “jar:file://” + Application.dataPath + “!/assets”;
case RuntimePlatform.IPhonePlayer:
return “file://” + Application.dataPath + “/Raw”;
default:
return “file://” + Application.streamingAssetsPath;
}
不同平台下的路径问题
最新推荐文章于 2020-11-12 21:27:47 发布