大约有 8 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0042 秒)
... 提交 1 个回复 w1114367261 赞同来自: 可以尝试使用Laya.timer.frameLoop进行循环此方法基于帧率执行 定时重复执行(基于帧率)。 * @param delay 间隔几帧(单位为帧)。 * @param caller 执行域(this)。 ...
来源: Laya_社区 发布时间: 20180409
...aram coverBefore 是否覆盖之前的延迟执行,默认为 true 。 */ frameLoop(delay: number, caller: any, method: Function, args?: Array<any>, coverBefore?: boolean): void; /** 返回统计信息。*/ toString(): string; /** * 清理定时器。 * @param caller 执行域(this)。 * @par...
来源: Laya_社区 发布时间: 20171109
...舒服,自己封装的定时器,不想用可直接替换成Laya.timer.frameLoop来替代,请自行修改跟Timer相关代码。 module lie { /** * 定时器,可启动、停止及统计已运行时间(单位毫秒),默认启动 */ export class Timer { ...
来源: Laya_社区 发布时间: 20181114
...x<0){ this.__bindList.push(source); } this.addChild(source); this.timer.frameLoop(1,this,this.__updateBinds); } unbind(source:BindSource):void{ let index:number=this.__bindList.indexOf(source); if(index<0){ throw new Error("找不到要删除的绑定内容"); } this.removeChild(source); ...
来源: Laya_社区 发布时间: 20190805
...type, Laya.Handler.create(this, this.onSkeLoaded), 2); Laya.timer.frameLoop(1, this, this.update); ....................................................................................................................................................................................... ...
来源: Laya_社区 发布时间: 20200618
...等这些文件统一加载完后回调 怎么停止正在运行Laya.timer.frameLoop的回调函数 Skeleton 类播放完成一遍后有没事件或者回调 http 请求 once 的 回调参数,如何传递和接收? 问题状态 最新活动: 2018-01-19 21:34 浏览: 1348 关注: 4 人
来源: Laya_社区 发布时间: 20180119
...记录位置 private setupPositionTracker() { Laya.timer.frameLoop(1, this, () => { this.effectChannels.forEach((channel, url) => { if (channel && !channel.isStopped) { this.lastKnownPositions.set...
来源: Laya_社区 发布时间: 20250930
...s.createByData(this, view); } this.onInit(); this.onShow(); Laya.timer.frameLoop(1, this, ()=>{ // console.info(this); this.onUpdate(); }); } /******************************************************************************** * Node ************************************************************...
来源: Laya_社区 发布时间: 20190222