Unity android 目录

#if UNITY_EDITOR
	string filepath = Application.dataPath +"/StreamingAssets"+"/my.xml";
#elif UNITY_IPHONE
	string filepath = Application.dataPath +"/Raw"+"/my.xml";
#elif UNITY_ANDROID
	string filepath = "jar:file://" + Application.dataPath + "!/assets/"+"/my.xml;
#endif


你可能感兴趣的:(Unity3D)