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

大约有 3,889 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0091 秒)

301. [LayaAir3]LayaAir3.3使用Fairygui开发UI,滤镜效果对不上 [ 85%]

...是代碼面的問題,我用的是官方推薦的寫法。 // 第一次执行update之前执行,只会执行一次 onStart(): void { fairygui.UIPackage.loadPackage("resources/LayaBUG", (pkgs) => { const view = pkgs[0].createObject("View"); console.log(view); this.owner.add...

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

302. getItemByClass的问题 [ 85%]

...mByClass("monster", SimpleRole),当第一个对象的timer事件还没有执行完,第二个对象的timer就开始了,如此反复创建覆盖导致的,你可以参考下官方文档打飞机的案例,尝试把timer动画播放行为放到SimpleRole类内部,那么每次创建完一个m...

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

303. laya.d3.core.light.PointLight [ 85%]

...: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

304. 解决游戏最小化退到后台后浏览器会强制1秒执行一次ILaya.stage._loop() [ 85%]

解决游戏最小化退到后台后浏览器会强制1秒执行一次ILaya.stage._loop()       ILaya.m_worker = new Worker("libs/sleepThread.js");     ILaya.m_worker.onmessage = function () {         if (!ILaya.stage.isVisibility) {             // console.log...

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

305. laya.d3.core.light.LightSprite_API3.0 [ 85%]

...延迟计算数据。 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

306. laya.d3.core.light.SpotLight [ 84%]

...: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

307. 1.70beta Dialog增加动画后第二次执行popup不显示弹窗 [ 84%]

1.70beta Dialog增加动画后第二次执行popup不显示弹窗 只有半透明遮罩出现,弹窗的实体不出现,1.60版本正常 2017-03-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 cuixueying 赞...

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

308. laya.utils.Ease_API3.0 [ 84%]

...Defined in laya/utils/Ease.ts:66 方法以零速率开始运动,然后在执行时加快运动速度。 它的运动是类似一个球落向地板又弹起后,几次逐渐减小的回弹运动。 Parameters t: number 指定当前时间,介于 0 和持续时间之间(包括二者)。 b: num...

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

309. laya.d3.core.render.BaseRender_API3.0 [ 84%]

...nent.onAwake Defined in laya/components/Component.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销...

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

310. laya.d3.core.light.PointLight_API3.0 [ 84%]

...延迟计算数据。 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