if (Application.platform == RuntimePlatform.IPhonePlayer)
{
path= "file://" + Application.streamingAssetsPath + "/DataXml.xml";
}
if (Application.platform==RuntimePlatform.Android)
{
path = Application.streamingAssetsPath + "/DataXml.xml";
}
unity5.5.2 不同平台路径读取
最新推荐文章于 2021-02-22 05:56:28 发布