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

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

1. Laya.timer.loop(delay, caller, method) [ 100%]

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

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

2. Timer.clear清理同caller同method的多个loop [ 99%]

Timer.clear清理同caller同method的多个loop 我需要有多个loop同时执行,所以第四个参数用false(不覆盖上一个loop),实际需求是一个界面里同时有几条文本同屏循环显示,各自时间间隔不同文本内容不同。 但是当我想停止其中一个loop...

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

3. Laya.timer.loop()如何停止 [ 98%]

Laya.timer.loop()如何停止 Laya.timer.loop()如何停止 2017-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 189*****192 赞同来自: zjwytqm 、cuixueying 、umi_  Laya.timer.loop(1000, this, animateT...

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

4. Laya.timer.loop只能重复调用不同函数吗,我想通过传参调用这样不行? [ 98%]

Laya.timer.loop只能重复调用不同函数吗,我想通过传参调用这样不行? 比如 Laya.timer.loop(50, this, this.Scroll,[this.textArr[0]]); Laya.timer.loop(50, this, this.Scroll,[this.textArr[1]]); Laya.timer.loop(50, this, this.Scroll,[this.textArr[2]]); Laya.timer.loop(50, this, t...

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

5. 关于Timer中的loop方法 [ 98%]

关于Timer中的loop方法  测试了一下  不是按照时间循环 而是根据帧循环的  这个在计算上造成很大的误差 2017-08-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知...

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

6. 怎么实现一个Timerloop的delay时间越来越短? [ 98%]

怎么实现一个Timerloop的delay时间越来越短? loop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void delay:int在loop过程中可以修改吗? 定时重复执行。怎么实现一个Timerloop的delay时间越来越短? 2017-06-26 添加评论...

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

7. Laya.timer.loop 的优先级 [ 98%]

Laya.timer.loop 的优先级 2018-02-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 你这个要表达什么? 2018-02-27 0 20 分享 微博 QZONE 微信 为什么被折叠? 0 个回...

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

8. Laya.timer.loopLaya.timer.clear 问题 [ 98%]

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

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

9. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 98%]

Laya.timer.loop() 报错 Cannot read property 'loop' of null import { Image } from "laya/ui/Image"; // import { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public ...

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

10. Laya.timer.loop调用后出现Cannot read property 'loop' of null [ 97%]

Laya.timer.loop调用后出现Cannot read property 'loop' of null Laya.timer.loop(100,this,function():void{trace(90890789078);}); 报错: Uncaught TypeError: Cannot read property 'loop' of null at new LayaUISample (LayaUISample.max.js:394) at LayaUISample.max.js:29731 at LayaUISample.max.js:29733...

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