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

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

1. laya.utils.Timer [ 100%]

...eters caller:* — 执行域(this)。  method:Function — 定时器回调函数。  args:Array (default = null) — 回调参数。 clear()method  public function clear(caller:*, method:Function):void 清理定时器。 Parameters caller:* — 执行域(this)。  method:Function — 定时器...

来源: laya_api 发布时间: 20170929

2. 求助引擎的api接口Laya.timer.once延迟2s后执行tween函数会报错是什么问题 [ 99%]

求助引擎的api接口Laya.timer.once延迟2s后执行tween函数会报错是什么问题 问题背景:想要实现弹幕移动的时候一条弹道上的label需要等待一定时间才能弹出下一条。   异常状态是tween找不到this._ease函数,但是我看断点的时候this是...

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

3. laya.utils.Timer [ 99%]

...eters caller:* — 执行域(this)。  method:Function — 定时器回调函数。  args:Array (default = null) — 回调参数。 clear()method  public function clear(caller:*, method:Function):void 清理定时器。 Parameters caller:* — 执行域(this)。  method:Function — 定时器...

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

4. 定时器 · LayaAir3.0文档 · LAYABOX [ 99%]

...帧)。 * @param caller 执行域(this)。 * @param method 定时器回调函数。 * @param args 回调参数。 * @param coverBefore 是否覆盖之前的延迟执行,默认为 true 。 */ frameOnce(delay: number, caller: any, method: Function, args: any[] = null, coverBefore: boolean = true): v...

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

5. Laya.timer.once();第四个参数 覆盖之前的延迟执行是啥意思 [ 98%]

... 赞同来自: 可以继续点进去看方法,这个会覆盖之前相同函数的计时 2018-05-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人  相关问题 怎样获取浏览器地址传过来的GET参数 2.0 drawTexture color...

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

6. laya.utils.Timer_API3.0 [ 97%]

... Parameters caller: any 执行域(this)。 method: Function 定时器回调函数。 Default value args: any[] = null 回调参数。 Returns void clear clear(caller: any, method: Function): void Defined in laya/utils/Timer.ts:243 清理定时器。 Parameters caller: any 执行域(this)。 method: ...

来源: Laya3.0_api 发布时间: 20231115

7. laya.display.Node [ 97%]

... callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node  clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node  contains(node:Node):Boolean...

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

8. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 96%]

...: boolean; protected _owner: laya.d3.core.Sprite3D; /**是否已执行start函数。*/ started: boolean; /** * 获取唯一标识ID。 * @return 唯一标识ID。 */ id: number; /** * 获取所属Sprite3D节点。 * @return 所属Sprite3D节点。 */ owner: laya.d3.core.Sprite3D; /** * 获取是否...

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

9. 点击事件会导致setTimeout setInterval 延迟执行的问题 [ 94%]

...Timeout还是同样的结果, 即使把原来点击页面触发的一系列函数全部注释, 在页面的任何地方添加下面的方法, 一样会导致setInterval明显延迟执行; Laya.stage.on('click', null, function (e) { console.log.log(`click`); }); 即使我将所有的事件绑定全...

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

10. 重发问题: 点击页面会导致setTimeout setInterval 延迟执行 [ 93%]

...Timeout还是同样的结果, 即使把原来点击页面触发的一系列函数全部注释, 在页面的任何地方添加下面的方法, 一样会导致setInterval明显延迟执行; Laya.stage.on('click', null, function (e) { console.log.log(`click`); }); 即使我将所有的事件绑定全...

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