U3D同步加载Assetbundle
2016-03-17 16:24
302 查看
fs = new System.IO.FileStream(url, System.IO.FileMode.Open); long lengh = fs.Length; byte[] bytes = new byte[lengh]; fs.Read(bytes, 0, (int)lengh); fs.Close(); fs = null; bundle = AssetBundle.CreateFromMemoryImmediate(bytes);
io流同步加载Assetbundle
相关文章推荐
- git
- CURL 参数解释
- 容易令人忽视的if、else语句逻辑错误
- 32位整数的二进制表示中有多少个1
- Python计算机视觉编程练习14:pyspider爬虫--安装篇
- HTML5 - 使用<video>播放视频
- zoj2109fatmouse
- ElasticSearch最新版本下载地址
- C - Sigma Function(LightOJ 1336)
- instance variable 'name' accessed in class method
- SpringMVC的拦截器Interceptor
- 设计模式之装饰模式
- 首贴纪念
- Laravel 快速开发标准文档
- SharedPreference 存储小量数据,一般首次启动显示引导界面就用这个。
- ElasticSearch最新版本下载地址
- [leetcode] @python 114. Flatten Binary Tree to Linked List
- No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
- 三星手机拍照,上传照片或者下载导致图片旋转90°的解决办法。
- Android获取微信公众号推送消息历史记录