你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
发现
话题
全文搜索
登录
[LayaAirIDE 1.0]加载同一个json文件第一次正常,第二次json文件里面的数据就只有一条了。
没有找到相关结果
已邀请:
与内容相关的链接
提交
2 个回复
Yangcy
赞同来自:
Laya.loader.load("abc.json", Handler.create(this, onAssetLoadedSound), Handler.create(this, progressHandler), Loader.SOUND);
第一次加载出来:
[list=none]
[*]0: {column: "0", duration: "0", mode: "点", time: "3076"}[/*]
[*]1: {column: "0", duration: "0", mode: "点", time: "3653"}[/*]
[*]2: {column: "3", duration: "0", mode: "点", time: "6153"}[/*]
[*]3: {column: "3", duration: "0", mode: "点", time: "6730"}[/*]
[*]4: {column: "0", duration: "0", mode: "点", time: "7692"}[/*]
[*]5: {column: "0", duration: "0", mode: "点", time: "8076"}[/*]
[*]6: {column: "2", duration: "0", mode: "点", time: "8461"}[/*]
[*]7: {column: "2", duration: "0", mode: "点", time: "8846"}[/*]
[*]8: {column: "3", duration: "577", mode: "按", time: "9230"}[/*]
[*]9: {column: "2", duration: "576", mode: "按", time: "10000"}[/*]
[*]10: {column: "0", duration: "769", mode: "按", time: "10769"}[/*]
[*]11: {column: "3", duration: "0", mode: "点", time: "12307"}[/*]
[*]12: {column: "3", duration: "0", mode: "点", time: "12692"}[/*]
[*]13: {column: "2", duration: "0", mode: "点", time: "13076"}[/*]
[*]14: {column: "2", duration: "0", mode: "点", time: "13461"}[/*]
[*]15: {column: "2", duration: "769", mode: "按", time: "13846"}[/*]
[*]16: {column: "3", duration: "577", mode: "按", time: "15384"}[/*]
[*]17: {column: "1", duration: "0", mode: "点", time: "16153"}[/*]
[*]18: {column: "2", duration: "576", mode: "按", time: "16923"}[/*]
[*]19: {column: "0", duration: "0", mode: "点", time: "17692"}[/*]
[*]20: {column: "2", duration: "577", mode: "按", time: "18461"}[/*]
[*]21: {column: "1", duration: "577", mode: "按", time: "19230"}[/*]
[/list]
第二次加载就:
{column: "0", duration: "0", mode: "点", time: "3076"}只有一条了
Aar0n
赞同来自:
信息提供过少,第二次打印是在哪调用的? 这个重复加载就直接走完成回调了
要回复问题请先
登录
发起人
Yangcy
相关问题
2.0一不小心删了bin目录下的某个场景json文件。。竟然无法自动生成了?
unity导出粒子文件问题
Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件
laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素
用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket
图集打包找不到图集文件
微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。
iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是正常的。
unity中的模型导出后在laya中显示不正常
微信小游戏中访问带空格的文件出错
粒子系统官例里载入的那些json文件是用什么软件生成的?
问题状态
最新活动:
2018-11-22 15:21
浏览:
2073
关注:
1
人
商务合作
2 个回复
Yangcy
赞同来自:
第一次加载出来:
[list=none]
[*]0: {column: "0", duration: "0", mode: "点", time: "3076"}[/*]
[*]1: {column: "0", duration: "0", mode: "点", time: "3653"}[/*]
[*]2: {column: "3", duration: "0", mode: "点", time: "6153"}[/*]
[*]3: {column: "3", duration: "0", mode: "点", time: "6730"}[/*]
[*]4: {column: "0", duration: "0", mode: "点", time: "7692"}[/*]
[*]5: {column: "0", duration: "0", mode: "点", time: "8076"}[/*]
[*]6: {column: "2", duration: "0", mode: "点", time: "8461"}[/*]
[*]7: {column: "2", duration: "0", mode: "点", time: "8846"}[/*]
[*]8: {column: "3", duration: "577", mode: "按", time: "9230"}[/*]
[*]9: {column: "2", duration: "576", mode: "按", time: "10000"}[/*]
[*]10: {column: "0", duration: "769", mode: "按", time: "10769"}[/*]
[*]11: {column: "3", duration: "0", mode: "点", time: "12307"}[/*]
[*]12: {column: "3", duration: "0", mode: "点", time: "12692"}[/*]
[*]13: {column: "2", duration: "0", mode: "点", time: "13076"}[/*]
[*]14: {column: "2", duration: "0", mode: "点", time: "13461"}[/*]
[*]15: {column: "2", duration: "769", mode: "按", time: "13846"}[/*]
[*]16: {column: "3", duration: "577", mode: "按", time: "15384"}[/*]
[*]17: {column: "1", duration: "0", mode: "点", time: "16153"}[/*]
[*]18: {column: "2", duration: "576", mode: "按", time: "16923"}[/*]
[*]19: {column: "0", duration: "0", mode: "点", time: "17692"}[/*]
[*]20: {column: "2", duration: "577", mode: "按", time: "18461"}[/*]
[*]21: {column: "1", duration: "577", mode: "按", time: "19230"}[/*]
[/list]
第二次加载就:{column: "0", duration: "0", mode: "点", time: "3076"}只有一条了
Aar0n
赞同来自: