• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 179 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)

11. Laya.timer.loop 的 Laya.timer.clear 问题 [ 90%]

Laya.timer.loop 的 Laya.timer.clear 问题 Laya.timer.loop(1000, this, ()=>{ 在这里怎么停 });   这个问题一直没人回答。。我贴出来。。让有经验的人回答一下。。。 2018-11-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

来源: Laya_社区 发布时间: 20181115

12. 定时器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 89%]

.... 清理定时器6. 立即执行并删除定时器定时器 定时器 Laya.Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 同时 Laya.Timer 表示游戏主时针,同时也是管理场景、动画、缓动等效果时钟,通过控...

来源: Laya3.0_文档 发布时间: 20251010

13. laya.utils.Timer [ 88%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames TimerProperties | Methods Packagelaya.utilsClasspublic class TimerInheritanceTimer Object Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 Public Properties Pr...

来源: laya_api 发布时间: 20170929

14. laya.utils.Timer [ 88%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames TimerProperties | Methods Packagelaya.utilsClasspublic class TimerInheritanceTimer Object Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 Public Properties Pr...

来源: Laya2.0_api 发布时间: 20190513

15. 怎么判断time是否存在,再清除 [ 87%]

...定时器之前做判断,如果存在,就clear, if(xxxxx){ Laya.timer.clear(this, this.showUserHandCard);  } Laya.timer.loop(150, this, this.showUserHandCard, null, false);    这个xxx怎么判断 2018-03-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果...

来源: Laya_社区 发布时间: 20180321

16. Laya.timer.loop(delay, caller, method) [ 86%]

Laya.timer.loop(delay, caller, method) 创建timer计时器,这个delay值可以后续代码中动态更改么?如何更改? 2018-05-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来...

来源: Laya_社区 发布时间: 20180505

17. 无法清除指定定时器 [ 85%]

无法清除指定定时器 发起一个定时器: Laya.timer.loop(1000,this,this.fan); 当执行 Laya.timer.clear(this,this.fan);时, 控制台还是在执行 fan 函数里的代码 2018-05-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

来源: Laya_社区 发布时间: 20180508

18. loop 我想在回调里暂停,然后在开启 [ 85%]

loop 我想在回调里暂停,然后在开启 var i = 0;  Laya.timer.loop( 500, this, function () {       i = i < (arr.length - 1) * 6 ? i + 1 : 0;       this.noticeList.scrollBar.value = i * 5        if (i % 6 == 0) {         console.log("在这里停止", i)        }  ...

来源: Laya_社区 发布时间: 20170705

19. 关于环形进度条,进度不能重置问题 [ 85%]

....circle; function IndexView(){ IndexView.super(this); this.angle = 0; Laya.timer.loop(200,this,this.loadProgress) var Sprite = Laya.Sprite; this.box = new Sprite(); this.box.cacheAs = "bitmap"; this.box.pos(0,0); this.say.addChild(this.box); this.draw = new Sprite(); this.box.addChild(this.draw); th...

来源: Laya_社区 发布时间: 20170807

20. 【简单跑酷--JS版】---Lv.3 添加地板 [ 83%]

...pe; _proto.init = function(type){ //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } //在地板上面添加物品 _proto.addItem = function(){ } _proto.onLoop = function(){ } })(); 因为是一个跑酷的游戏 所以 我们之前提到过 这个地板最好有一个...

来源: Laya_社区 发布时间: 20160728