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

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

1. 定时器 · LayaAir3.0文档 · LAYABOX [ 100%]

... * @param method 定时器回调函数。 * @param args 回调参数。 */ callLater(caller: any, method: Function, args: any[] = null): void { CallLater.I.callLater(caller, method, args); } 使用示例如下: const { regClass } = Laya; import { RuntimeScriptBase } from "./RuntimeScript.generated...

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

2. laya.utils.Timer_API3.0 [ 98%]

...s constructor Properties currFrame currTimer scale Accessors delta Methods callLater clear clearAll clearCallLater destroy frameLoop frameOnce loop once pause resume runCallLater runTimer toString Constructors constructor new Timer(autoActive?: boolean): Timer Defined in laya/utils/Timer.ts:34 创...

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

3. laya.utils.Timer [ 97%]

...  MethodDefined By  Timer() 创建 Timer 类的一个实例。 Timer  callLater(caller:*, method:Function, args:Array = null):void 延迟执行Timer  clear(caller:*, method:Function):void 清理定时器。 Timer  clearAll(caller:*):void 清理对象身上的所有定时器。 Timer  ...

来源: laya_api 发布时间: 20170929

4. laya.utils.Timer [ 96%]

...mer(autoActive:Boolean = true) 创建 Timer 类的一个实例。 Timer  callLater(caller:*, method:Function, args:Array = null):void 延迟执行Timer  clear(caller:*, method:Function):void 清理定时器。 Timer  clearAll(caller:*):void 清理对象身上的所有定时器。 Timer  ...

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

5. callLater延时的时间怎么设置 [ 96%]

callLater延时的时间怎么设置 /** * 延迟执行。 * @param caller 执行域(this)。 * @param method 定时器回调函数。 * @param args 回调参数。 */ callLater(caller: any, method: Function, args?: Array<any>): void; 这个注释说这个函数延迟执行 延迟多久执行...

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

6. laya.display.Node [ 83%]

...nent):* 添加组件实例。 Node  addInputChild(node:Node):NodeNode  callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node  clearTimer(caller:*, method:Function):void 清理定时器...

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

7. laya.display.Node_API3.0 [ 82%]

...Child addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeseria...

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

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

... * @param method 定时器回调函数。 * @param args 回调参数。 */ callLater(caller: any, method: Function, args?: Array<any>): void; /** * 立即执行 callLater 。 * @param caller 执行域(this)。 * @param method 定时器回调函数。 */ runCallLater(caller: any, method: Functi...

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

9. 怎么进行延时/延迟更新呢? [ 79%]

... cuixueying 赞同来自: evamango 延迟可以使用Laya.timer.once或者callLater延迟处理 2016-12-27 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 evamango 相关问题 LayaAir3D UnityPlugin 使用须知-版本更新-问题解...

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

10. laya.d3.core.Sprite3D_API3.0 [ 79%]

...Child addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterD...

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