大约有 66 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0043 秒)
...更新失败会进入cofig.js里边 window.onLayaInitError==function=(e) {console.log("onLayaInitError error=" =+ e); talert(加载游戏失败,可能由于您的网络不稳定,请退出重进") } 这个方法,然后就停在这里了。这里能否再调回JAVA代码,让程序继续执行...
来源: Laya_社区 发布时间: 20181214
... function Test() { this.rand = Math.random(); } Test.output = function (){ console.log(this.rand); } return Test; }()); Zszen.Test = Test; })(Zszen || (Zszen = {}));我使用 var a = new Zszen.Test(); a.output(); //这句我调用说找不到, 应该怎么写自定义方法 2018-01-12 添加评论 ...
来源: Laya_社区 发布时间: 20180112
...; .............................................. if (e.keyCode == 97) { // console.log("a"); let newPos = new Laya.Vector3(this.block.transform.position.x + 0.1, this.block.transform.position.y, this.block.transform.position.z); console.log(newPos.x); this.block.transform.position = newPos; } else i...
来源: Laya_社区 发布时间: 20171228
...符串变成数字? android studio运行laya项目报错 laya如何重写console.log 打印错误跟信息到自己写的日志面板上 android 新版打包要求输入js或者json,而不是html路径 我应该如何处理 LayaNative 预览在Android底下报错 ConchShader is not defined 打...
来源: Laya_社区 发布时间: 20180226
...功web版本没问题,有DEMO web端打包发布后能不能自动删除console.log 点击代码编辑模器 就提示无法打开代码编辑器 请配置 这个怎么解决? 问题状态 最新活动: 2024-10-23 21:10 浏览: 3767 关注: 2 人
来源: Laya_社区 发布时间: 20241016
...(1, this, () => { let interval = xxxxxx; this.tire.interval = interval; console.log("animation.index: " + this.tire.index); }); 另外说明: 只要不每帧改变interval 就不会卡住 附件 : --> 2020-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20201012
.../ 2; this.addChild(test); test.on(Laya.Event.MOUSE_MOVE, this, (e) => { console.log(e); }); 监听mouse_move事件后,手指在test上滑动,会报错: 附件 : --> 2017-08-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20170806
....Text(); text.pivot(text.width / 2, text.height / 2); text.pivot(200,200); console.log(text.pivotX, text.pivotY); 打印显示都是0 2018-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人...
来源: Laya_社区 发布时间: 20180322
...= 0; private run() { let now = Date.now(); console.log("fightmng run >> " + now, " usetime:"+(now-this.last)); this.last = now; } 代码如上,帧循环把项目最小化在后台运行,挂5分钟左右之后,时间间隔会变成1分...
来源: Laya_社区 发布时间: 20220302
...= new Laya.MapLayer(); var aaa = MapLayer.getTileDataByScreenPos(322,222); console.log(aaa);
来源: Laya_社区 发布时间: 20180118