大约有 7 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0028 秒)
...r.IMAGE }, { url: "res/atlas/comp.atlas", type: Laya.Loader.ATLAS }], Laya.Handler.create(this, this.onLoaded), Laya.Handler.create(this, this.onLoading)); } static aaa(): void { } private onLoaded(): void { var info = new view.GameInfo(); info.zOrder = 99;//置最顶,这句话不写图层看不见 ...
来源: Laya_社区 发布时间: 20180507
Handler 未定义 请问这是什么原因? 之前IDE提示有新版本需要升级,升级得时候360有提示是病毒,是否因为未安装成功? 附件 : --> 2017-09-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...
来源: Laya_社区 发布时间: 20170920
...没反应 ts: /**视频广告 */ public static showVideoAd(success: Laya.Handler, type: string): void { if (GameConfig.ins.isDev) { success.runWith(1); return; } var VGUtil = Laya.PlatformClass.createClass("com.szdn.game.fkzy.VGUtil"); VGUtil.callWithBack(back, "showVideoAd", type); function back(...
来源: Laya_社区 发布时间: 20190524
...把 Laya.Tween.to(letterText, { y : 300 }, 1000, Laya.Ease.bounceIn, Laya.Handler.create(this,this.changeColor,[letterText]), i * 100); 2017-11-22 0 0 分享 微博 QZONE 微信 liner1457387450 赞同来自: 恩恩,你写的这句是基本的用法,我想用tween API里complete()立即完成...
来源: Laya_社区 发布时间: 20171122
...到微信的code数据,始终无法返回数据给Laya层。 方式1:m_Handler.post( new Runnable() { public void run() { //ui thread update ui JSONObject obj = new JSONObject(); try { obj.put("value", "Hello Laya!"); } catch(JSONException e) { e.printStackTrace(); } Log.d("Laya", "======准备...
来源: Laya_社区 发布时间: 20200113
... this.__bind.load(GamePath.single.getSpinePath("tank_blue.sk"),Laya.Handler.create(this,this.testLoadComplete)); } private __bind:BindSkeleton; private testLoadComplete():void{ let source:BindSource=new BindSource("gongji"); source.gr...
来源: Laya_社区 发布时间: 20190805
...播放动画 Tween.to(item, {y : -10, scaleX : 0.1, alpha : 0}, 300, null, Handler.create(this, this.itemTweenComplete, [item])); this.updateScore(); } } } } //人物如果踩到地板了 就把人物的坐标设置到地板上面 this.player.y = floor.y; //如果到地板上面的 就得重置跳...
来源: Laya_社区 发布时间: 20160803