大约有 1,546 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0066 秒)
...alse);//设置 tab 的选择项发生改变时执行的处理器。 console.log("A123"); function onSelect(index) { console.log("当前选择的标签页索引: index= ", index); } } 附件 : --> Del5.rar 2016-07-22 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20160722
...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
...组名称 */ public static loadGroup(groupName: string){ if(!groupName){ console.error("资源组名称不能为空"); RES.getInstance().event(RES.ONLOADGROUPERROR,"资源组名称不能为空"); return; } var group; for(var i in RES.groups){ var name = RES.groups[i].name; if(name == groupName){ gro...
来源: Laya_社区 发布时间: 20161011
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 创建动效模板 可能存在bug 问题状态 最新活动: 2018-01-30 19:22 浏览: 622 关注: 2 人 qian • 2018-01-30 19:49 这个问题我已经问引...
来源: Laya_社区 发布时间: 20180130
...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
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 大量sprite如何优化性能 请教下微信小游戏的内存和数据缓存? 1.7.20beta有bug,帧属性面板打不开 laya如何重写console.log 打...
来源: Laya_社区 发布时间: 20241015
...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
...ter.window.wx.onHide(onHide); } static private function onShow(res):void { console.warn("小游戏回到前台", res); } static private function onHide():void { console.warn("小游戏隐藏到后台"); } } } 2018-07-26 1 0 分享 微博 QZONE 微信 渔歌 赞同来自: https://developers.weixin.qq...
来源: Laya_社区 发布时间: 20180726
....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
...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