大约有 64 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0033 秒)
...; .............................................. 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
...et a = this.owner.getChildByName("Sprite3D") as Laya.Sprite3D; console.log(a,typeof(a)) let aa = a.addComponent(Laya.Rigidbody3D); } 报错 TypeError: Cannot read properties of undefined (reading '__className') 使用版本laya 3.1.0 beta3 , 老...
来源: Laya_社区 发布时间: 20240102
...nit(1280, 720); sumToJava(); } } function test() { console.log("java to js") } function sumToJava() { alert("js to java"); js2java.back(); } //程序入口 new LayaUISample(); declare var js2java : any; ———————————————————...
来源: Laya_社区 发布时间: 20170517