摘要: 报错: 情景描述: 加载AssetBundle时,把加载出来的所有Object对象都Instantiate实例化了,实例化过程中出现该错误。 解决方案: 方案1:把要使用贴图文件(如*.Tga)的属性(如下图)设置Read/Write Enabled为true,对应的程序参数是TextureImpo 阅读全文
posted @ 2017-08-07 18:17 沙溪河边青青草 阅读(2323) 评论(0) 推荐(0) 编辑
摘要: 一、常用的路径: 1、Application.dataPath //游戏数据存放的路径。 2、Application.streamingAssetsPath //流数据的缓存,StreamingAssets资源文件夹路径 3、Application.persistentDataPath //持久化数 阅读全文
posted @ 2017-08-07 09:30 沙溪河边青青草 阅读(407) 评论(0) 推荐(0) 编辑