大约有 549 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0053 秒)
...交 3 个回复 Laya_Aaron 赞同来自: Laya.loader.load("abc.ttf",Laya.Handler.create(this, this.abc)); demo里没写预加载字体的代码, 先加载字体,然后再在回调方法里 初始化场景 abc():void{ GameConfig.startScene && Laya.Scene.open(GameConfig....
来源: Laya_社区 发布时间: 20191217
...; item.progress = 0; totalSize += item.size; items.push(item); var progressHandler = progress ? Laya.Handler.create(null, loadProgress, [item], false) : null; var completeHandler = (complete || progress) ? Laya.Handler.create(null, loadComplete, [item]) : null; this.load(item.url, completeHandler, p...
来源: Laya_社区 发布时间: 20171226
... 1 个回复 cuixueying 赞同来自: Y_Yao 直接为你的tab添加selectHandler或者mouseHandler即可! 2017-05-16 1 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 Y_Yao 相关问题 Dialog:屏蔽点击Dial...
来源: Laya_社区 发布时间: 20170516
... - 8; if(page < 0)page=0; page +=1; if(caller) this.list.tweenTo(page,0,Handler.create(caller,callback)); else this.list.tweenTo(page,0); } 2019-02-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron ...
来源: Laya_社区 发布时间: 20190226
... ]; Laya.loader.load(resArr,Handler.create(this,this.onLoaded)); } private function onLoaded():void{ //显示界面 var gameView:GameView = new GameView(); ...
来源: Laya_社区 发布时间: 20180106
....loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } 这里的dd=__JS__("window.loadingView"); 换成 ts 怎么写 Apple • 2018-04-16 16:22 直接 Laya.Browser.window.loadingView
来源: Laya_社区 发布时间: 20180416
...空场景 Laya.loader.create(`LayaScene_main/Conventional/main.ls`, Laya.Handler.create(this, (scene: Laya.Scene3D)=>{ Laya.stage.addChild(scene); })); 附件 : --> myLaya.zip 2019-09-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20190906
...也不影响后续流程 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); } onVersionLoaded() { //激活大小图映射,加载小图的时候,如果发现小图在大图合集里面,则优先加载大图合集...
来源: Laya2.0_文档 发布时间: 20210715
...名字.lh"}, {url:"同上.lh"}, {url:"同上"}, {url:"同上"}[code]],Handler.create(this,onLoaded)); 2018-05-29 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 灬倪先森_ 相关问题 2.0一不小心删了bin目录下的某个场...
来源: Laya_社区 发布时间: 20180529
...声音消失 请问下自定义时间怎么获取发送时的参数 Laya.Handler.create 加载图片回调参数问题 在浏览器可以运行 在微信开发者工具 可以运行 当在微信小游戏预览的时候 点击事件全部都消失了。。。 http 请求 once 的 回调参数,如...
来源: Laya_社区 发布时间: 20240201