大约有 388 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0040 秒)
...ou are trying to send If it's larger than 125 bytes you need to encode the length in a different manner i.e you must take the extended payload length into consideration. – Cyclonecode Jul 7 '15 at 10:22 Right, of course, so i need to use the next two (or eight) bytes to store the length instea...
来源: Laya_社区 发布时间: 20180612
...t.disableVertexAttribArray(index); attrs[index] = null; } }); while (attrs.length > 0 && attrs[attrs.length - 1] == null) attrs.pop(); } }; let $bufferRecreateResource = Laya.Buffer.prototype['recreateResource']; Laya.Buffer.prototype['recreateResource'] = function() { $bufferRecreateReso...
来源: Laya_社区 发布时间: 20200708
...1, [anim])); onStartOver1(bads: Array<any>): void { alert("1" + bads.length) var animsf :Laya.Animation = bads[0] as Laya.Animation; animsf.play(); } 这样用会报错 2017-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...
来源: Laya_社区 发布时间: 20170309
...this._getCSSStyle()._getValign() == 1){ for(var i = 0; i < this._childs.length; i++){ var e = this._childs[i]; if(e instanceof HTMLElement && e._text.words){ for(var j = 0; j < e._text.words.length; j++){ var w = e._text.words[j]; w.y = (this.height - tArray[1])/2 + w.y; } }else{ e.y =...
来源: Laya_社区 发布时间: 20180104
..._simulate(deltaTime)函数的 this._btDiscreteDynamicsWorld.callBackBody.length = 0; this._btDiscreteDynamicsWorld.allContacts.length = 0; 这两句就正常了 附件 : --> 2020-08-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20200806
...ght / 2 - 50; let demoString = "LayaBox"; for (let i = 0, len = demoString.length; i > 1; var endY: number = Laya.stage.height / 2 - 50; var demoString: string = "LayaBox"; for (var i: number = 0, len: number = demoString.length; i > 1; var endY:int = Laya.stage.height / 2 - 50; var demoString:Strin...
来源: Laya2.0_示例 发布时间: 20251209
...... var repeatY = Math.ceil(GameManager.instance.serverList.length / 3); // 此处算出来实际为1 this.serverList.repeatY = repeatY; ...... 但是直接设,是可以的: // this.serverList.repeatY = 1; 2016-09-02 添加评论 免费帖 --> 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20160902
...f (!aniData)return; var aniList=aniData.animationList; var i=0,len=aniList.length; --------源码--------- 报错: aniList.length为null "Cannot read property 'length' of null" 2018-07-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20180719
... this.scaleX -= 0.1; this.scaleY -= 0.1; for (var i = 0; i < this.nodes.length; i++) { this.nodes[i].scaleX += 0.1; this.nodes[i].scaleY += 0.1; } } else if (e.delta < 0 && this.scaleX <= 1.5) { this.scaleX += 0.1; this.scaleY += 0.1; for (var i = 0; i < this.nodes.length; i++) {...
来源: Laya_社区 发布时间: 20180211
...charge")//充值 ] for(var i = 0;i<this.feedBtn.length;i++){ new BtnFeed(this.feedBtn[i]); } } //又给this.myHome对象添加了一个click事件 this.myHome.on(Laya.Event.CLICK,this,this.showMyfamMenu); _proto.showMyfamM...
来源: Laya_社区 发布时间: 20170301