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

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

41. 获取坐标问题 [ 58%]

...有类似于Unity的携程延迟,下面的代码延迟调用,Lyabox的callLater不会用啊! q1402907210 • 2017-12-16 15:39 定时器只是函数的延迟调用,我想用的是同一个代码的上半部分执行完延迟多长时间再执行下面! Laya_Aaron • 2017-12-16 15:57 没有...

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

42. 渲染完成的回调 [ 58%]

...因为UI没有渲染完成),有没有UI渲染完成的回调 是用 “callLater” 吗?   2017-11-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ymsdandan 赞同来自: 你用changeHandler试试吧   2...

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

43. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 58%]

...addChildren addComponent addComponentInstance addLine addLines bubbleEvent callLater clear clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents getLine hasHideFlag hasListener isAncestorOf off offAll offAllCall...

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

44. progressbar设置皮肤后, 马上destroy会报bug [ 58%]

... this._skin; this._bar.skin = this._skin.replace(".png", "$bar.png"); this.callLater(this.changeValue); this._sizeChanged(); this.event(Event.LOADED); }加载过程中, 组件执行了destroy()方法后,  this._bg.skin = this._skin;// 这行会报错 2020-01-08 添加评论 免费帖 --> 分享 微...

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

45. 取handler有概率取错 [ 56%]

...d +'_'+ mid];     }     set 方法也要这样改,参照附件文件 CallLater.rar 2019-09-03 0 1 分享 微博 QZONE 微信 1553654448用户 赞同来自: 拿number当key 不可避免的会出现两个不一样的ID加起来变成一样的....没人解决这个问题么?? 2019-09-03 0 0 分...

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

46. 图片缺失怎么知道是哪张呢? [ 56%]

...先加载预制体本体A的那个按钮skin -> skin loaded -> this.callLater(this.changeClips) -> 而后加载B的skin -> _setSkin(还没没加载完 -> 帧循环 update -> changeClips -> getRes没有B的skin资源就会打印 lose skin res id

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

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

... * @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

48. 发布QQ玩一玩,使用VScode,windows环境下打包问题。 [ 55%]

...       this._clipChanged=true;                 this.callLater(this.changeClip);             }         } 2018-10-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 陌上花开 相关问题 LayaAi...

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

49. 关于mouseThough=true的问题 [ 55%]

...olor = "#ff0000"; // trace(Laya.timer.toString()); // Laya.timer.callLater(this,onLater); // trace(Laya.timer.toString()); var assets:Array = []; assets.push({url:[ "fish_6.png" ],type:Loader.IMAGE}); Laya.loader.load(assets,Handler.create(this,onLoaded)); } private function onLo...

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

50. laya.d3.core.light.DirectionLight [ 53%]

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

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