大约有 989 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
Laya_社区(688) Laya2.0_文档(163) Laya_示例(51) Laya2.0_示例(43) Laya3.0_api(20) Laya3.0_文档(20) laya_api(2) Laya2.0_api(2)
...s","res/atlas/cartoon.atlas","res/atlas/miner.atlas","gameConf.json"],Laya.Handler.create(this,onloaded),null,null); 2018-07-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 陈帅 赞同来自: 文件目录如...
来源: Laya_社区 发布时间: 20180723
...ng'; constructor() { Laya.init(200, 300); Laya.loader.load(this.skin, Laya.Handler.create(this, () => { this.btn = this.createBtn(this.skin); this.btn.on(Laya.Event.CLICK, this, this.onClick); })); } /** * 创建btn */ private createBtn(skin: string): Laya.Button { let button = new Laya.Button(sk...
来源: Laya_社区 发布时间: 20170511
.../monster/monsterA/move.atlas" ]; Laya.loader.load(aniArr, Handler.create(this, onAni), null, Loader.ATLAS); private function onAni():void { var role:SimpleRole = new SimpleRole(); Laya.stage.addChild(role); } SimpleRole类: public function SimpleRole() ...
来源: Laya_社区 发布时间: 20170619
...果 Laya.loader.load("https://piggy.q1.com/res//atlas/images.atlas", Laya.Handler.create(this, this.onLoaded2), null, Laya.Loader.ATLAS); // Laya.loader.load("map/tile_map.png"); 2018-05-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20180528
...ader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init));
来源: Laya_社区 发布时间: 20171116
...接从缓存获取。 Laya.loader.load([{url:"xxx.mp3",type:Loader.SOUND}],Handler.create(this,onComped)) 2016-12-13 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 feini 相关问题 两个对象new了一个相同的对象,调用第一...
来源: Laya_社区 发布时间: 20161213
...同来自: 可以预加载,试下下面的方式:Laya.loader.load(url, Handler.create(this, onComplete), null, Loader.BUFFER); 2017-05-05 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 hhj2357620 相关问题 2.0一不小心删了bin...
来源: Laya_社区 发布时间: 20170505
... "res/plane.lh", "res/LayaMonkey.lh" ], Laya.Handler.create(this, onComplete)); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion...
来源: Laya_社区 发布时间: 20180725
..., { url: "res/Basics.json", type: Laya.Loader.BUFFER } ], Laya.Handler.create(this, this.onLoaded)); } onLoaded(): void { console.log('===================ss'); console.log('sssss', fgui.GRoot.inst.displayObject); Laya.stage.addChild(fgui.GRoot.inst.displayObject); ...
来源: Laya_社区 发布时间: 20191030
Dialog中的closeHandler 并没有回调按钮name 是不是BUG? 版本:1.7.2beta 测试用例:http://layaair.ldc.layabox.com/demo/?UI_Dialog 里面加一段 dialog.closeHandler = Handler.create(this,function(name){ alert(name) }) 测试结果 name 并没有被传值 2017-03-30 添...
来源: Laya_社区 发布时间: 20170330