unity3d ios android pc path
2013-11-20 14:37
267 查看
#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 语音接入适用于pc、ios、android
- Unity3d代码从Android/IOS迁移到WindowsPhone经验笔记
- Unity播放视频(pc,android,ios)
- Unity3D:unity与Android相互传递消息 & unity与ios相互传递消息
- 解决Lightmap在PC上与ios和Android上表现不…
- Unity ios、android、pc一键打包(一)
- PC、iOS、Android等多平台通用性交互设计思考
- Unity3D在IOS、Android上使用C++并回调的究极解决方案
- Unity3D项目文件目录发布后对应的ios/android应用目录
- unity播放视屏(pc/android/ios)
- 【Unity3D自学记录】Unity中的物体缩放-Android和PC平台
- unity3d 判断url是否正常 android and ios
- Unity3D播放视频(包括在IOS和Android移动设备中播放视频)
- Unity3D 调用Android与IOS的剪贴板
- unity3d Android客户端与PC服务器实现Socket通信(wifi)
- C#通过UserAgent判断智能设备(Android,IOS,PC,Mac)
- js判断客户是用pc,android,还是ios,登录实现
- unity3d 不同平台载入XML文件的方法——IOS MAC Android
- js判断是否是PC,IOS,Android客户端
- Unity3D 游戏引擎之IOS Android支持中文与本地文件的读取写入