大约有 595 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0037 秒)
Laya_社区(437) Laya2.0_文档(39) Laya3.0_文档(31) Laya_示例(27) Laya3.0_api(24) Laya2.0_示例(21) Laya2.0_api(10) laya_api(6)
...竖屏 发生改变时会报错Uncaught TypeError: Cannot read property 'length' of null 关于不同语言中使用适配 我想自定义组件 ,引入layaeditor.d.ts直接编译,居然报这个文件有错 微信小游戏适配问题 相对屏幕坐标 问题状态 最新活动: 2017-03-13 16:...
来源: Laya_社区 发布时间: 20160919
...竖屏 发生改变时会报错Uncaught TypeError: Cannot read property 'length' of null 使用startDrag进行拖拽右下角超出隐藏 怎么把世界坐标系转为屏幕坐标系? 问题状态 最新活动: 2016-12-05 11:46 浏览: 1464 关注: 2 人 tigerzxd • 2016-12-05 16:43 它的渲染...
来源: Laya_社区 发布时间: 20161205
...ject colours to show those ending a collision for (var i = 0; i < pairs.length; i++) { var pair = pairs[i]; pair.bodyA.render.fillStyle = '#2A2CB2'; pair.bodyB.render.fillStyle = '#2A2CB2'; pair.bodyB.render.sprite.texture = './comp/block.png'; } } 2017-10-24 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20171024
...y = null, once:Boolean = true):Handler { if (_pool.length) return _pool.pop().setTo(caller, method, args, once); return new Handler(caller, method, args, once); } 2018-07-04 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回...
来源: Laya_社区 发布时间: 20180704
...e '[any, number]' is not assignable to type '[number]'. Types of property 'length' are incompatible. Type '2' is not assignable to type '1'. 通过sudo vim /etc/paths添加path环境变量后还是会报这个错误,mac os该如何配置? 2018-04-19 添加评论 免费帖 --> 分享 微博 QZ...
来源: Laya_社区 发布时间: 20180419
...大小 但是尺寸不对。 for (let i = 0; i < Laya.RigidBody['objs'].length; i++) { const element = Laya.RigidBody['objs'][i]; if(element) if(element.owner){ if(element.owner.getComponent(Laya.CircleCollider)){return} if(element.owner.getComponent(Laya.BoxCollider)){ element['_sysPosToPhysic']...
来源: Laya_社区 发布时间: 20200807
... touches 属性 let touches = e.touches; if (touches && touches.length == 2) { preRadian = Math.atan2( touches[0].stageY - touches[1].stageY, touches[0].stageX - touches[1].stageX); Laya.stage.on(Event.MOUSE_MOVE, this, this.onMouseMove); } } 2019-09-25 0 0 分享 微博 QZONE 微信 1...
来源: Laya_社区 发布时间: 20190919
...= 0; Laya.timer.loop( 500, this, function () { i = i < (arr.length - 1) * 6 ? i + 1 : 0; this.noticeList.scrollBar.value = i * 5 if (i % 6 == 0) { console.log("在这里停止", i) } else{ console.log("在这里开始", i) ...
来源: Laya_社区 发布时间: 20170705
...动画模版,里面放了几张png作为帧,但是在ide里面转换却报length失败了,请问为什么呢? 附件 : --> laya.zip 2017-07-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达...
来源: Laya_社区 发布时间: 20170721
....prototype.ScrollToBottom=function(caller,callback){ var page=this.msgList.length - 8; if(page < 0)page=0; page +=1; if(caller) this.list.tweenTo(page,0,Handler.create(caller,callback)); else this.list.tweenTo(page,0); } 2019-02-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20190226