• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 84 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0034 秒)

11. Uncaught 无法实例class PhysicsCollider extends PhysicsTriggerComponent [ 75%]

...饭烫伤手 相关问题 2.0一不小心删了bin目录下的某个场景json文件。。竟然无法自动生成了? laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined dialog 自定义关闭效果,效果执行完,弹窗无法关闭 播放背...

来源: Laya_社区 发布时间: 20200505

12. Laya.loader加载BUG [ 74%]

...         }                         data = JSON.parse(res);                     }catch(error)                     {                         console.log("parse fail " + error);               ...

来源: Laya_社区 发布时间: 20200427

13. 3d场景下载出错 [ 72%]

... e.n._parse (https://usr/game.js:66:1995)     at Function.t._createNodeByJson (https://usr/game.js:46:14129)     at Function.t._createNodeByJson (https://usr/game.js:46:13903)     at Function.t._createNodeByJson (https://usr/game.js:46:13903)     at Function.e._parse (https://usr/game.js:61:...

来源: Laya_社区 发布时间: 20190515

14. 二次开发(TypeScript-LayaNative原生服务-LayaNative进阶) [ 71%]

...; obj.value = "Hello OC!"; bridge.callWithBack(function(value) { var obj = JSON.parse(value) alert(obj.value); },"testAsyncCallback:", JSON.stringify(obj)); } else if (os == "Conch-android") { alert(bridge.call("testString","hello")); alert(bridge.call("testNumber",256.0)); alert(bridge.call("testBo...

来源: Laya2.0_文档 发布时间: 20210714

15. 微信开发者工具问题 [ 70%]

...already exist: {init: ƒ} VM698:1 gameThirdScriptError Unexpected token in JSON at position 134;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 134     at JSON.parse (<anonymous>)     at Function.MiniAdpter.getJson (http://127.0.0.1:15089/game/co...

来源: Laya_社区 发布时间: 20180531

16. 关于laya图片资源缓存的问题 增量更新文件缓存 [ 70%]

...(function(){ return through.obj(function (file, enc, cb) { staticVersion = JSON.parse(file.contents.toString()) let content = `export default ${file.contents.toString()}` file.contents = new Buffer(content) this.push(file) return cb() }); }()) .pipe(gulp.dest('.')) }) /** 图集资源添加时间戳...

来源: Laya_社区 发布时间: 20180412

17. 二次开发 · LayaAir3.3 · 引擎文档 · LAYABOX [ 69%]

....value = "Hello OC!"; bridge.callWithBack(function(value: any) { var obj = JSON.parse(value) alert(obj.value); },"testAsyncCallback:", JSON.stringify(obj)); } else if (os == "Conch-android") { alert(bridge.call("testString","hello")); alert(bridge.call("testNumber",256.0)); alert(bridge.call("testBo...

来源: Laya3.0_文档 发布时间: 20250422

18. [0]laya-zip让你的游戏加载速度提升350%!! [ 67%]

... 微博 QZONE 微信 第七天堂 赞同来自: LayaZip 在mac电脑上报 JSON.parse 错误     原因: 当你对模型文件压缩处理时。mac会自动生成一个__MACOSX的隐藏配置文件   解决方案: 开始解决的时候 我是在这地方加一个异常检测, but, LayaZip在...

来源: Laya_社区 发布时间: 20211227

19. Laya.loader.create 报错, 升级2.0.2后 游戏卡顿 [ 67%]

...e.n._parse (https://usr/game.js:66:1995)     at Function.t._createNodeByJson (https://usr/game.js:46:14129)     at Function.t._createNodeByJson (https://usr/game.js:46:13903)     at Function.t._createNodeByJson (https://usr/game.js:46:13903)     at Function.e._parse (https://usr/game.js:...

来源: Laya_社区 发布时间: 20190510

20. 解析Json数据的时候怎么使用get(xxx)获取数据 [ 67%]

解析Json数据的时候怎么使用get(xxx)获取数据 在API中只看到了JSON.parse()和JSON.Stringify()两个接口。如果我想var json:JSON=getRes(..),然后对json.get(xxx)类似操作,怎么做? 2018-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

来源: Laya_社区 发布时间: 20180307