大约有 123 项符合查询结果, 库内数据总量为 4,832 项。 (搜索耗时: 0.0036 秒)
...都没问题,求大神给解答下啊! private connect(): void { console.log("connect...."); this.hr = new Laya.HttpRequest(); this.hr.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.E...
来源: Laya_社区 发布时间: 20201023
... cell._childs[1].text=data.listNumber.text; console.log(index) //根据子节点的名字listNumber,获取子节点对象。 var listNumber1 = cell.getChildByName("text"); // var text = cell.getC...
来源: Laya_社区 发布时间: 20180717
...化则必须保证池中最少存在1个 if (this.m_ObjectPoolDic[key]){ console.log("初始化有误,该值已经有对应的 对象池了"); } else{ this.m_ObjectPoolDic[key]=new QueueT<Laya.MeshSprite3D>(); this.m_ObjectPoolDic[key].push(MeshSprite); } } //按照编号取出对应对象...
来源: Laya_社区 发布时间: 20191206
...libs = )).push({ f: i, i: e }); }), window.layalib(function (i, e, t) { console 窗口报错如下: ------------------------------------------ WAGame.js:3 gameThirdScriptErrorCannot assign to read only property 'window' of object '#<Window>' TypeError: Cannot assign to read only property ...
来源: Laya_社区 发布时间: 20190319
...s.ps); } down2() { this.a = Laya.stage.mouseX; this.b = Laya.stage.mouseY; console.log("鼠标点击的点" + this.a, this.b) Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.move2) } move2() { this.path.push(Laya.stage.mouseX, Laya.stage.mouseY); // console.log("移动的点集合" + this.path); thi...
来源: Laya_社区 发布时间: 20170721
...d/dh/gril1.wav", 1,Laya.Handler.create(this,() => { })); console.log(soundChItem.position+""); console.log(soundChItem.duration+""); 附件 : --> 2023-05-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20230519
...er.window.wx.onHide(_onHideWX); } private function _onShowWX(res:*):void { console.log("wx.onShow:",res); console.log(Laya.timer.currTimer); } private function _onHideWX():void { console.log("wx.onHide:"); console.log(Laya.timer.currTimer); } wx.onShow.currTimer == wx.onHide.currTimer 这两个居...
来源: Laya_社区 发布时间: 20180827
...04 12:01 还有个问题: Laya.Font.defaultFont="12px,SimHei"; console.log(Laya.Font.defaultFamily); console.log(Laya.Font.defaultFont); let view:ui.TestUI=new ui.TestUI(); Laya.stage.addChild(view); console.log("font",view.lab2.font); 我设置了defaultFont 但是font输出...
来源: Laya_社区 发布时间: 20180104
....Sprite3D.load(url); this.m_Effect.on(Laya.Event.PLAYED, this, function(){ console.log("PLAYED callback!!"); }) this.m_Effect.on(Laya.Event.PAUSED, this, function(){ console.log("PAUSED callback!!"); }) this.m_Effect.on(Laya.Event.COMPLETE, this, function(){ console.log("COM...
来源: Laya_社区 发布时间: 20170512
...moveDownBall = function(){ this.ball.x -= this.vx; this.ball.y += this.vy; console.log("111111"); this.vy *= 0.99; this.vy += 0.25; console.log("222222"); if (this.ball.y + this.vy >= this.img1 ||this.ball.y + this.vy <= 0) { this.vy = -this.vy; console.log("33333"); } if (this.ball.x + this.v...
来源: Laya_社区 发布时间: 20171108