大约有 37 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0029 秒)
...2.png", "res/3.png", "res/4.png", "res/5.png", "res/6.png", "res/7.png" ], Handler.create(this, onLoaded),Handler.create(this, onProgress)); //Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded),Handler.create(this, onProgress)); } private function onProgress(v:Number):void { tra...
来源: Laya_社区 发布时间: 20180428
...问题: 1、Main.ts的 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); 该行能成功运行,执行了this.onVersionLoaded回调; 2、然后该行Laya.AtlasInfoManager.enable("fileconfig.json", Laya.Handler.c...
来源: Laya_社区 发布时间: 20200111
...一个测试方法 Laya.loader.create 进度回调函数执行两次 Laya.Handler.create 回调 创建树Tree 该怎么回调mouseHandler 形参该传什么 资源加载后的 回调 问题状态 最新活动: 2019-04-21 18:25 浏览: 984 关注: 1 人
来源: Laya_社区 发布时间: 20190421
...少了。是我哪里设置有问题么 创建树Tree 该怎么回调mouseHandler 形参该传什么 Laya.Handler.create 回调 执行回调函数时报is not a function Laya.loader.create 进度回调函数执行两次 问题状态 最新活动: 2019-10-31 16:24 浏览: 878 关注: 2 人
来源: Laya_社区 发布时间: 20191028
...s原生回调问题 Laya.loader.create 进度回调函数执行两次 Laya.Handler.create 加载图片回调参数问题 Tween的to方法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 本人想做个批量加载json文件...
来源: Laya_社区 发布时间: 20180323
list的selectHandler属性连续点击同一个item不能重复接收事件 使用的是引擎示例中的代码:https://layaair.ldc.layabox.com/demo/?category=2d&group=UI&name=List list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); ...
来源: Laya_社区 发布时间: 20180507
...list进行默认加载赋值 this.storelist.renderHandler=new Handler(this,onRender);//当list刷新时触发 并发送Box,index this.storelist.mouseHandler = new Handler(this,onMouse);//当list被点击时触发 并发送event,index ...
来源: Laya_社区 发布时间: 20180503
....tw1 = Laya.Tween.to(this.load_1, { scaleX:0.01 }, 250, Laya.Ease.quadOut, Handler.create(this, this.tw1Complete1)); 只要是设置scale值最终变为0就有问题,, var style=this.getStyle(); 这个获取的style是空的,,这个问题不是必现的,,,,, 附件 : --> 2018-03-15...
来源: Laya_社区 发布时间: 20180315
...Laya.init(600, 400); Laya.loader.load("res/atlas/template/comp.json", Laya.Handler.create(this, onAssetLoaded2), null, Loader.ATLAS); function onAssetLoaded2() { Laya.class(MyBoot, "MyBootClass", MyPage2UI); var UI = new MyBootClass(); Laya.stage.addChild(UI); } function MyBoot() ...
来源: Laya_社区 发布时间: 20160722
... 已邀请: 与内容相关的链接 提交 1 个回复 LT 赞同来自: Handler.create默认执行一次后立即回收。用的时候倒是看明白参数啊 2018-07-23 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Just So So 相关...
来源: Laya_社区 发布时间: 20180723