大约有 4,102 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0069 秒)
Laya_社区(3323) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...location,程序卡死 if (!Laya.Geolocation.supported) { console.log(11) this.txt.text = "11"; }else{ console.log(3333) this.txt.text = "22"; } 代码运行到这里就不往下运行 了,控制台也不输出,什么问题? 2018-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20180314
...何获取进入前台跟后台的事件 Laya.stage.on("visibilitychange", this, this._onVisibilitychange) 这个方法跟监控焦点的方法好像都不行,一到安卓机子上就监控不了了 2020-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...
来源: Laya_社区 发布时间: 20200322
...or in MediaPlayer 01-13 03:14:15.153: I/LayaBox(8475): release JSWebSocket this=acad15b0 deletgate=ac34b288 01-13 03:14:15.153: I/LayaBox(8475): release JSWebSocket this=ac6378b0 deletgate=ac9999f0 01-13 03:14:15.154: I/LayaBox(8475): release JSWebSocket this=ac640750 deletgate=ac9631c0 01-13 03:14:...
来源: Laya_社区 发布时间: 20180113
...ios手机下无法监听 Laya.Accelerator.instance.on(Laya.Event.CHANGE, this, this.monitorAccelerator); 在android手机中是没有问题的,在ios手机无法监听这个事件 附件 : --> 2020-02-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20200224
...容相关的链接 提交 2 个回复 chasel 赞同来自: chrome里的this 和 layaair里的this不一样 2018-09-07 0 0 分享 微博 QZONE 微信 fengzv 赞同来自: js不是这样用的 要么bind要么箭头函数 2018-09-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...
来源: Laya_社区 发布时间: 20180907
...tOther.x, potOther.y] distanceJoint.selfAnchor = [potSelf.x, potSelf.y]; this.owner.addComponentIntance(distanceJoint); }报错信息如下: Node:the component is singleton,can't add the second one. 翻看源码后发现有这么一段判断单例组件的限制 __proto.addComponentIntance...
来源: Laya_社区 发布时间: 20190609
...coverBefore:Boolean = true):void 但是照这个写了 Laya.timer.once(800,this,sh,[1,3,4]) 之后,在回调函数sh 里面 收到的不是数组,请问这个正确的传参是怎么传的? 2017-08-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20170827
...画,会自动触发Event.COMPLET事件 skeleton.player.on(Event.COMPLETE,this,onComplete);2、当skeleton.play(0,false) 第二个参数为false时,当前动画播放完成后,会自动触发Event.STOPED事件,而不是Event.COMPLETE事件 skeleton.on(Event.STOPPED, this, completeHandler); 20...
来源: Laya_社区 发布时间: 20170807
...Material.load("res/threeDimen/skyBox/DawnDusk/SkyBox.lmat", Handler.create(this, function(mat:SkyBoxMaterial):void { //获取相机的天空渲染器 var skyRenderer:SkyRenderer = camera.skyRenderer; //创建天空盒的mesh skyRenderer.mesh = SkyBox.instance; //设置天空盒材质 skyRenderer.mat...
来源: Laya2.0_文档 发布时间: 20210715
...on.scaleX = -1; } bone.addChild(skeleton); skeleton.on(Laya.Event.STOPPED, this, this.playCom, [bone]); skeleton.play(bone.direction, false); 播放方式就和官方的一样 或者说是不是不支持叠加模式啊? 附件 : --> 2017-12-25 添加评论 免费帖 --> 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20171225