大约有 342 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
...(this); // this定义.. this.init(); } Class.prototype.init = function() { console.log(this); }; return Class; })(); } var __extends = (this && this.__extends) || function(d, b) { for (var p in b) { (b.hasOwnProperty(p)) && (d[p] = b[p]); } function __() { this.constructor = d; } d.p...
来源: Laya_社区 发布时间: 20170619
...); sp.emitter.start(); sp.x = 100; sp.y = 100; sp.name = (i++).toString(); console.log(sp.name); Laya.stage.addChild(sp); setTimeout(function () { var emitter = sp.emitter; emitter.stop(); emitter.clear(); sp.stop(); sp.destroy(true); Laya.stage.removeChild(sp); onAssetsLoaded(settings); }, 100); } ...
来源: Laya_社区 发布时间: 20170103
... this; this.tl.on(this.Event.COMPLETE,this,function(){ _this.tl.stop(); }) console.log(this.tl) this.tl.interval = 1000 / 60; // this.tl.play(); apesCtn.addChild(this.tl); apesCtn.height = 1500; apesCtn.width = 3248; this.tl.pivot(-1624,-750); }, 2019-01-17 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20190117
... { console.log("授权失败"); } }); button.show(); 2019-01-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20190109
... 2018-08-17 10:44 for( let i = 0; i < Laya.stage.numChildren; i++ ) { console.log( Laya.stage.getChild(i) ); } 153*****476 • 2018-08-17 13:17 多谢,按你的方法我找到问题了,是我的逻辑有问题,场景加载了两次。 Supermang42 • 2018-08-17 13:33 :D
来源: Laya_社区 发布时间: 20180815
...tance.gl; let errorCode:number = gl.getError(); if(errorCode != 0) { console.log("webgl报错了,错误代码为" + errorCode); } 3 camera勾选hdr或者msaa 运行报错 webgl报错了,错误代码为 1282 不勾选hdr msaa或者在代码里 camera.enableHDR = true或camera.msaa ...
来源: Laya_社区 发布时间: 20250916
...Main.js里面加了,在手机上没有运行到这里。 constructor() { console.log("Main start...."); 附件qq_layaSample是用2.4IDE创建一个一个3d物理实例工程,导出qq平台后在开发工具里面压根运行不起来,但是在 Ver 0.1.29-beta.55 里面可以运行。 ...
来源: Laya_社区 发布时间: 20200219
...g'); //此处无论是这样给 list.on(Laya.Event.CLICK, this, () => { console.log(413132131) }) //还是在handler中去渲染,都会滚动不了 txArray.push(list);} storeTxList.array = txArray; Laya.stage.addChild(storeTxList); 悬赏找大神看问题 export default class StoreIte...
来源: Laya_社区 发布时间: 20190711
...; this._path_space_y = Math.abs( this._tail_pos.y - this._head_pos.y ); // console.log("set path head_pos:" + this._head_pos.x + ":" + this._head_pos.y); // console.log("set path tail_pos:" + this._tail_pos.x + ":" + this._tail_pos.y); // console.log("set path space:" + this._path_space_x + ":" + th...
来源: Laya_社区 发布时间: 20180515
...e3D(); pl.maxLineCount = wayList.length; console.log("线段数量:", wayList.length); this.mainScene.addChild(pl); for (let i = 1; i < wayList.length; i++) { pl.addLine(wayList[i - 1], wayLis...
来源: Laya_社区 发布时间: 20180426