大约有 495 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
....js的第4870行修改为 (data.isKinematic != null) && (this.isKinematic = data.isKinematic); 感谢您反馈的bug 2020-08-20 0 1 分享 微博 QZONE 微信 qzzz 赞同来自: 测试包 TEST_COLLIDER2.6_.0_.zip TEST_COLLIDER2.7_.0_.zip 2020-08-20 0 0 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20200820
...值如0.001. 简单写法如在init中: SoundManager.playSound("XXX", this, ()=>{ console.log('触发1'); Laya.timer.scale = 0; SoundManager.playSound("XXX", this, ()=>{ console.log('触...
来源: Laya_社区 发布时间: 20201107
...,在安卓上Input.input会被修改,但是在set focus 中 input.target=this就无效了 附件 : --> 2021-06-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 157*****593 赞同来自: 在第三个红框中(...
来源: Laya_社区 发布时间: 20210604
Laya.Animator 无法通过on监听 ani.on(Laya.Event.COMPLETE,this,this.onAniComplete,[ani]); 报错 无法类型"Animator" 上不存在属性"on",现在无法通过on监听了么,请问现在要如何监听动画播放完毕 2019-04-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20190429
...Manager.getWorkPath("laya/custom"); console.log("customUI:",uiConfigPath); this.initCustomUIConfig(uiConfigPath,false); 也就是把教程的里的东西搬到 自己的项目路径/laya/custom 下 2018-05-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请...
来源: Laya_社区 发布时间: 20180510
...ios手机下无法监听 Laya.Accelerator.instance.on(Laya.Event.CHANGE, this, this.monitorAccelerator); 在android手机中是没有问题的,在ios手机无法监听这个事件 附件 : --> 2020-02-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20200224
...ite(); sp2.x = 100; sp2.loadImage('bet/cheer_1_4.png'); sp1.addChild(sp2); this.addChild(sp1); const htmlCanvas = sp1.drawToCanvas(640, 200, 0, 0); const canvas = htmlCanvas.getCanvas(); trace(canvas.toDataURL('image/png')); const texture = new Laya.Texture(htmlCanvas); const sp = new Sprite(); sp.g...
来源: Laya_社区 发布时间: 20171018
...: 1562299196用户 打开bin/laya.ui.js找到function WXOpenDataViewer把this.texture的实例化放到onEnable里面,在onDisable加一句this.texture.bitmap.destroy(); 2019-07-10 1 0 分享 微博 QZONE 微信 1562299196用户 赞同来自: 请问下怎么解决的 2019-07-10 0 0 分享 微...
来源: Laya_社区 发布时间: 20190703
... x:1 ,y:2 ,update:new Laya.Handler(box,function(){ this.transform.position = this.potOld; }) }, ConstValue.animationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){ console.log("complete"); }),ConstValue.animationDelay); 无法直接设置原因...
来源: Laya_社区 发布时间: 20180112
...ROR:连接出错时触发。 示例代码: // 注册事件监听示例 this.socket.on(Laya.Event.OPEN, this, this.onSocketOpen); this.socket.on(Laya.Event.MESSAGE, this, this.onMessageReceived); this.socket.on(Laya.Event.CLOSE, this, this.onSocketClose); this.socket.on(Laya.Event.ERROR, this, th...
来源: Laya3.0_文档 发布时间: 20251010