大约有 238 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0048 秒)
...ler: Laya.Handler = null, ...args): void { if (this.mUrl.length == 0) { console.warn("netconnection url is null"); return; } //生成请求和事件监听并放入对象池 var req...
来源: Laya_社区 发布时间: 20161109
...ion WebGLProgram() { … } [[Scopes]]:Scopes[0] arguments:null caller:null length:0 name:"WebGLProgram" prototype:WebGLProgram {constructor: , Symbol(Symbol.toStringTag): "WebGLProgram"} constructor:function WebGLProgram() { … } Symbol(Symbol.toStringTag):"WebGLProgram" __proto__:Object {construct...
来源: Laya_社区 发布时间: 20180822
... setData:function() { // 添加一批 for (var i = 0; i < elemArr.length; i++) { var rdata = elemArr[i]; var cell = this._putChild("panelParent", path, rdata.showCol, rdata.showRow, cellSize, [1, 1], 0); } this.timerOnce(300, this, function () { this._scrollToOne("panelParent")...
来源: Laya_社区 发布时间: 20170410
...is.transformMatrices,this._mat,0,this.materialBlock,this.transformMatrices.length); 这个方法中拿到这个DrawMeshInstancedCMD对象,然后执行recover,发现逻辑bug,如附件中贴图所示,回收对象池的时候把对象拥有的变量给销毁了,如下: this._instanceBuffer...
来源: Laya_社区 发布时间: 20250717
...ted function _onEnable():void { for (var i = 0, n = this._controllerLayers.length; i < n; i++) { if (this._controllerLayers[i].playOnWake) { var controllerLayer = this._controllerLayers[i]; var curPlayState = controllerLayer._currentPlayState; if (curPlayState == null) { var defaultClip = this.ge...
来源: Laya_社区 发布时间: 20190513
...); private onCollision(event): void { for(var i = 0; i < event.pairs.length; i++) { var pair = event.pairs[i]; if(pair.bodyA.label === 'gun' && pair.bodyB.label == "gameover") { this.onGameOver(); } } } private onGameOver(): void { console.log("结束游戏...");} 附件 : -->...
来源: Laya_社区 发布时间: 20180524
... console.log("1111111111",this.hitResult); // if (this.outs.length != 0) // { // console.log("碰撞到物体",this,this.outs[0]); // } } 附件 : --> 2022-05-06 添加评论 免费帖 --> 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20220506
... 报错信息: .max.js:12479 Uncaught TypeError: Cannot read property 'length' of null at TimeLine.__proto._update (HMain.max.js:12479) at TimerHandler.__proto.run (HMain.max.js:9196) at Timer.__proto._update (HMain.max.js:8951) at Stage.__proto.render (HMain.max.js:16932) at Stage.__proto._loop...
来源: Laya_社区 发布时间: 20170327
...ch_id; _.needsz(16); _.wu32(0); _.wu32(11); _.wu32(ib.conch_id); _.wu32(ib.length * 2); ib.buffer = new Uint16Array(ib); _.wab(ib.buffer, ib.length * 2); ib._upload = true; } if (vb.conch_id === undefined || !vb._upload) { vb.conch_id = CanvasRenderingContext2D.ID++; vb.conchRef = new ArrayBufferRef...
来源: Laya_社区 发布时间: 20190806
... persent); if (this.targets != null) { for (let i = 0; i < this.targets.length; i++) { if (this.targets[i] != null) { this.targets[i].filters = [newTargetColorFilter]; } } } } public setPersent(persent: number) { this._persent = persent; } public get persent(): number { return this._persent; ...
来源: Laya_社区 发布时间: 20180930