大约有 60 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0026 秒)
...set():void 重置所有对象,复用对象的时候使用。 TimeLine resume():void 恢复暂停动画的播放。 TimeLine to(target:*, props:Object, duration:Number, ease:Function = null, offset:Number = 0):TimeLine 控制一个对象,从当前点移动到目标点。 TimeLine to(targ...
来源: laya_api 发布时间: 20170929
...set():void 重置所有对象,复用对象的时候使用。 TimeLine resume():void 恢复暂停动画的播放。 TimeLine to(target:*, props:Object, duration:Number, ease:Function = null, offset:Number = 0):TimeLine 控制一个对象,从当前点移动到目标点。 TimeLine to(targ...
来源: Laya2.0_api 发布时间: 20190513
...break; case Keyboard.P: timeLine.pause(); break; case Keyboard.R: timeLine.resume(); break; } } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Keyboard = Laya.Keyboard; import TimeLine = Laya.TimeLine; import WebGL = Laya.WebGL; export cl...
来源: Laya_示例 发布时间: 20251209
...e Keyboard.P: this.timeLine.pause(); break; case Keyboard.R: this.timeLine.resume(); break; } } } new Tween_TimeLine();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Keyboard = Laya.Keyboard; import TimeLine = Laya.TimeLine; import WebGL = Lay...
来源: Laya2.0_示例 发布时间: 20251209
...-----'); Laya.stage.renderingEnabled = true//恢复渲染 Laya.updateTimer.resume() //恢复onUpdate Laya.timer.resume(); //恢复时间 Laya.timer.scale = 1; }) window['wx'].onHide(() => { this.event(AppEvent.onHide); this.appStatus = AppEvent.onHide; console.log(this.appStatus, '---------'); La...
来源: Laya_社区 发布时间: 20200917
..._btnPlaySound.visible = false; console.log(this.soundMan.resume); if (this.playBoo) { this.soundMan.play(); this.playBoo = false; }else { this.soundMan.resume(); ...
来源: Laya_社区 发布时间: 20190919
...烦了,代码嵌套会很深。。。 或者 laya 有没有suspend、resume 函数的功能? 这样也能实现类似的协程概念 或者如果没有,有没有其他思路可以实现类似的东西 2019-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20190601
...一个方法是可以直接暂停整个游戏的 然后某个时刻 需要resume的时候再开启 看了下源代码 想修改一下stage的render 那里有个sleep 直接return 但是不知道有没有什么坑 2017-03-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...
来源: Laya_社区 发布时间: 20170320
...,stop函数就是把更新函数给注销了 官方只要提供一个resume函数,重新注册一下更新函数,这个功能就可以用了。 附件 : --> 2020-07-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20200703
...从头开始播放,但在PC浏览器下正常。另外SoundManager没有resume方法,希望可以增加。 附上demo。 附件 : --> ResumeMusic.rar 2017-01-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 c...
来源: Laya_社区 发布时间: 20170109