大约有 1,765 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
....onShow(this.resumeGame) wxHelper.onHide(this.pauseGame) } resumeGame () { console.log('resumeGame') } pauseGame () { console.log('pauseGame') } onDestroy () { wxHelper.offHide() wxHelper.offShow() } } 2018-11-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20181101
...s(200,200); Laya.stage.addChild(btn); btn.on(Laya.Event.CLICK,this,()=>{console.log("click button");}); 请问 这样监听不到button的点击事件吗?如果我创建一个ui.view a a.on 也监听不到吗 2017-11-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20171128
...aphics.clear(); _s.destroy(true); _s.removeSelf(); _s=null; console.log(Laya.loader.getRes(_url)); Loader.clearRes(_url,true); console.log(Laya.loader.getRes(_url)); } 2017-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20170222
...mg/popular.png", 0, 0, 0, 0, Laya.Handler.create(this, function (a1, a2) { console.log(a1, a2); }), [100]); 为什么不能把Laya.Hander.create后面带的这个参数传到Function里面? 附件 : --> 2018-06-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20180621
...apName+"1.lh"; if(this.PRINT_LOG){ console.log("准备读取区域"+curIndex+" 的 路径: "+path+"地图"); } Sprite3D.load(path,Handler.create(null,function(sp){ if(_$this.PRINT_LOG){ ...
来源: Laya_社区 发布时间: 20191011
..., "post","json",null); 回调方法: success:function (e,args) { console.log(e); //此行可以得到响应内容 console.log(args); //此行无法获取自定义参数? } 请问如何获取/传递 自定义参数。 2018-03-04 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180304
...: 2 人 xdkaka • 2017-12-14 17:38 我就是这么做的,不可以啊,console.log可以出来当前的选项,说明继承没有问题,但是无法更改 class Tab extends TabUI{ constructor() { super() this.zOrder = 1 console.log(this._tab._selectedIndex) //返回1,正常 this._tab._selec...
来源: Laya_社区 发布时间: 20171214
...r asset:Image = assets[i]; //查看log,清理前资源一直在内存中 console.log(Laya.loader.getRes(asset)); //调用清理方法 Laya.loader.clearRes(asset); //查看log,清理后,资源被卸载 console.log(Laya.loader.getRes(asset)); } } 2017-10-19 0 0 分享 微博 QZONE 微信 为什...
来源: Laya_社区 发布时间: 20171019
...ctx.clear() const len = points.length; console.log("ppppppppppppppp ", points) ctx.drawPoly(0, 0, points, "#FFFFFF", "#FF00FF", 1) } 附件 : --> 2020-04-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20200428
...ment.createElement('button'); this.btn_CloseWebiFrame.onclick = () => { console.log("onclick"); }; oncontextmenu也没有问题。this.img_closeWebiFrame.oncontextmenu = () => { console.log("aaa4"); this.img_closeWebiFrame.src = "SlotGameTemplate/phone_public_setting_source/phone_btn_setting...
来源: Laya_社区 发布时间: 20180126