大约有 451 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
Laya_社区(211) Laya3.0_api(79) Laya2.0_api(73) laya_api(68) Laya2.0_文档(9) Laya3.0_文档(9) Laya2.0_示例(1) Laya_示例(1)
每帧执行函数 请问Laya 2d 和 3d 每帧 执行的函数怎么实现呢,或者系统封装的函数是哪个呢 2018-05-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 yung 赞同来自: Laya.timer.fram...
来源: Laya_社区 发布时间: 20180512
定时重复执行(基于帧率)。 初始化时 设置每帧执函数 Laya.timer.frameLoop(1,this,this.update); 运行一段时间后 update函数不执行了 2018-05-02 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回...
来源: Laya_社区 发布时间: 20180502
定时器清理不对称的问题。 启动定时器,执行函数,根据不同的参数,调用同样的逻辑代码。如下,我启动了3个任务。 Laya.timer.loop(delay,this,onLoop,[param1]); Laya.timer.loop(delay,this,onLoop,[param2]); Laya.timer.loop(delay,this,onLoop,[param3]); 在...
来源: Laya_社区 发布时间: 20171107
...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...
来源: Laya2.0_api 发布时间: 20190513
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...
来源: Laya3.0_api 发布时间: 20231115
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...
来源: Laya3.0_api 发布时间: 20231102
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...
来源: Laya3.0_api 发布时间: 20231115
... this.y = this.y0; Laya.timer.loop(20, this, this.frameWork); // 每 20 ms 执行一次 } private frameWork():void{ this.y = this.y0 + 10 * (this.n % 3); alert("move "); } }代码放在一个 Image 组件的 runtime 中,实现图片的循环移动,但是 这句代码 :Laya.timer.loop(20, this,...
来源: Laya_社区 发布时间: 20200203
...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...
来源: laya_api 发布时间: 20170929
...25 21:26 1、层级调用与性能无关 2、frameLoop如果每个函数都执行了较多的逻辑,同时又有多个frameLoop,这个会对性能有影响的,影响的多少根据项目而定,建议最好一个frameLoop搞定!
来源: Laya_社区 发布时间: 20170821