大约有 1,240 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0051 秒)
Laya_社区(920) Laya3.0_api(80) Laya2.0_文档(78) Laya_示例(64) Laya2.0_示例(51) Laya3.0_文档(43) laya_api(2) Laya2.0_api(2)
...3执行destroyUnusedResources。 核心代码: private onBtnClick(e:Laya.Event):void { switch(e.target) { case this.btn1: Laya.Scene.open("ui/p1/Page1.scene", false); break; case this.btn2: Laya.Scene.close("ui/p1/Page1.scene"); break; case this.btn3: Laya.Resource.destroyUnusedResources(); break;...
来源: Laya_社区 发布时间: 20190216
...用ide设置的 txtInput.wordWrap = true;//使用ide设置的 txtInput.on(Event.INPUT, this, onInputChange); private function reset(e:Event = null):void { clickStar = 0; txtInput.text = ""; txtLast.text = "剩余输入:" + WelfareNoticeMgr.MAX_WARD + "字"; } private ...
来源: Laya_社区 发布时间: 20170812
...如下方法,但是没有效果,求解。 this.clip_wpLevelup.on(Laya.Event.STOPPED, this, this.stopAndShowLvupResult); 2018-06-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: http:/...
来源: Laya_社区 发布时间: 20180609
...怎么监听这个游戏进入后台事件。 我尝试了用this.stage.on(Event.BLUR, this, ()=>{console.log("back")}),PC浏览器上可以,但在加速器上不行。 2016-12-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20161202
...错 报错提示是:TypeError: this.method.apply is not a function at EventHandler.__proto.run (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:697:26) at LoaderManager.__proto.event (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:483:52) at ResInfo.onLoaded (file:/...
来源: Laya_社区 发布时间: 20180104
...at new GameUI (GameUI.ts:34) at SceneLoader.create (laya.core.js:22061) at EventHandler.__proto.run (laya.core.js:1385) at SceneLoader.__proto.event (laya.core.js:1156) at SceneLoader.__proto._checkNext (laya.core.js:15949) at SceneLoader.__proto.onOneLoadComplete (laya.core.js:16000) at EventHandle...
来源: Laya_社区 发布时间: 20181227
...per(this); var arr2 = new Array(); arr2.push(this.dimg); this.dimg.on(Laya.Event.CLICK, this,apeclick2, arr2); } function apeclick2(that) { console.log("apeclick sucess"); that.skin = "../img/5.jpg"; console.log(that); that.zOrder = 1; } 2017-02-18 1 0 分享 微博 QZONE 微信 chensa222 赞同来...
来源: Laya_社区 发布时间: 20170217
...Container.loadImage("res/guide/crazy_snowball.png"); gameContainer.on(Laya.Event.CLICK, this, this.nextStep); // 引导所在容器 guideContainer = new Sprite(); Laya.stage.addChild(guideContainer); guideContainer.cacheAs = "bitmap"; // 绘制遮罩区,含透明度,可见游戏背景 maskArea =...
来源: Laya2.0_示例 发布时间: 20251219
...问题 横屏模式在锁定竖屏的iphone上不能正常显示的问题 event自定义事件的问题 关于Quaternion.rotationLookAt的问题 问题状态 最新活动: 2017-07-12 22:31 浏览: 1715 关注: 2 人 a4362928 • 2017-07-12 16:46 感谢,https://layaair.ldc.layabox.com/demo/?Sprite_...
来源: Laya_社区 发布时间: 20170710
...guaSpr.addChild(ape); ape.loadImage("WBSign/img_guakaituceng.png"); ape.on(Event.MOUSE_MOVE, this, onMouseMove); interactionArea = new Sprite(); interactionArea.blendMode = "destination-out"; ape.addChild(interactionArea); interactionArea.graphics.clear(); } function onMouseMove(e) { if(mouseX!=0){ ...
来源: Laya_社区 发布时间: 20170615