大约有 179 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
Laya_社区(94) Laya3.0_api(64) Laya3.0_文档(6) Laya2.0_文档(5) Laya_示例(3) Laya2.0_示例(3) laya_api(2) Laya2.0_api(2)
Laya.timer.loop 的 Laya.timer.clear 问题 Laya.timer.loop(1000, this, ()=>{ 在这里怎么停 }); 这个问题一直没人回答。。我贴出来。。让有经验的人回答一下。。。 2018-11-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20181115
.... 清理定时器6. 立即执行并删除定时器定时器 定时器 Laya.Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 同时 Laya.Timer 表示游戏主时针,同时也是管理场景、动画、缓动等效果时钟,通过控...
来源: Laya3.0_文档 发布时间: 20251010
...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
...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
...定时器之前做判断,如果存在,就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
Laya.timer.loop(delay, caller, method) 创建timer计时器,这个delay值可以后续代码中动态更改么?如何更改? 2018-05-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来...
来源: Laya_社区 发布时间: 20180505
无法清除指定定时器 发起一个定时器: Laya.timer.loop(1000,this,this.fan); 当执行 Laya.timer.clear(this,this.fan);时, 控制台还是在执行 fan 函数里的代码 2018-05-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20180508
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
....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
...pe; _proto.init = function(type){ //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } //在地板上面添加物品 _proto.addItem = function(){ } _proto.onLoop = function(){ } })(); 因为是一个跑酷的游戏 所以 我们之前提到过 这个地板最好有一个...
来源: Laya_社区 发布时间: 20160728