大约有 14 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0060 秒)
...eUI { constructor() { super(); this.stage.on(Laya.Event.FOCUS, this, this.onFocus); this.stage.on(Laya.Event.BLUR, this, this.onBlur); Laya.timer.frameLoop(1,this,this.onFrameLoop); } private onFrameLoop():...
来源: Laya_社区 发布时间: 20180724
...请问我该怎么写呢? 假设有这两个定时器 Laya.timer.loop(100, this,update); Laya.timer.loop(1000,this,shoot_boss); 我希望关闭第二个定时器,该如何使用clear呢? 谢谢。 2016-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...
来源: Laya_社区 发布时间: 20160718
示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function $ adb shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Conn...
来源: Laya_社区 发布时间: 20171218
...域, 要清理的定时器监回调方法(looppp)) Laya.timer.loop(100,this,looppp); 清理定时器是支持的哦!你看看你的清理是不是导致了你的代码错误! 2018-05-08 0 2 分享 微博 QZONE 微信 bbh 赞同来自: 模拟器上都没问题,就手机I上报了个错误 ...
来源: Laya_社区 发布时间: 20180505
... Date() console.log("=============>", (dt.getTime() - this.IndexFrame)); this.lbTips.text = this.lbTips.text + " " + (dt.getTime() - this.IndexFrame); this.IndexFrame = dt.getTime(); if (this.VideoTexture != null) ...
来源: Laya_社区 发布时间: 20230807
...0-08-18 09:49 index.js:829 data stderr: stderr: npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-08-18T01_47_13_310Z-debug.log index.js:829 data 2 end) npm install -g @vivo-minigame/cli:1 index.js:829 data laya_ide_time.gulp....
来源: Laya_社区 发布时间: 20200817
...et 1 01-06 17:34:41.531 335 335 I C02c11/APPSPAWN: [appspawn_service.c:226]this is unlock status 01-06 17:34:41.531 335 335 I C02c11/APPSPAWN: [appspawn_server.c:218]AppSpawnProcessMsg id 19 0x0 -- 01-06 17:34:41.545 902 902 E C02515/DISP: [SetMetadata:85] <private> is not supported 01-06 17:3...
来源: Laya_社区 发布时间: 20250106
...本Laya.Animator发现play方法的存在BUG 龙骨动画play播放时,this._templet.getAnimationCount()报错? 问题状态 最新活动: 2017-08-15 16:42 浏览: 1827 关注: 2 人 popo • 2017-08-15 16:52 这个设置 下播间隔就好 Monica • 2017-08-15 16:55 @popo:不太清楚具体是...
来源: Laya_社区 发布时间: 20170815
...了: printScreenInfo("aaa"); Laya.loader.load(resArr, Handler.create(this, this.onResLoaded, [this.mainuiView, winName, zOrder])); printScreenInfo("bbb"); private onResLoaded(parent:Laya.Node, winName:string, zOrder:number):void { printScreenInfo("ccc"); this.doOpen(parent, winName,...
来源: Laya_社区 发布时间: 20180316
...,导致背景声音不播放问题。 Laya.stage.on(Laya.Event.BLUR, this, this.onBlur); Laya.stage.on(Laya.Event.FOCUS, this, this.onFocus); private onBlur() { // 暂停所有需要停止的逻辑 console.log("onBlur"); SoundManager.Instance.pauseBGM(); ...
来源: Laya_社区 发布时间: 20250930