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

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

431. spine动画,微信模拟器正常,真机动画图片颠倒!!!引擎大bug!!! [ 47%]

...(0, true); this.img_sample.addChild(hero); this.sk_hero = hero; Laya.timer.once(200, this, () => { hero.on(Laya.Event.CLICK, this, this.onHeroClick); let bbox = hero.getSelfBounds(); hero.hitArea = bbox; }); } 附件 : --> skeleton.zip 2018-09-05 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

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

...IDTH + "," + DIALOG_HEIGHT; console.log("SHOW"); dialog.show(); Laya.timer.once(3000, this, function () { console.log("SHOW"); dialog.show(); }); } })();http://layaair.ldc.layabox.com/demo/?UI_Dialog 直接到示例下跑一跑就知道了... @cuixueying     demo.zip 2017-03-03 0 3 分享 微博 Q...

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

433. laya接入fairyGUI的时候资源加载方式? [ 47%]

...riority = priority; } else { this.priority = 1; } if (progress) { progress.once = false; } let loadData: Array<any> = [ { url: resKey + "." + fgui.UIConfig.packageFileExtension, type: Laya.Loader.BUFFER } ] Laya.loader.load(loadData, Laya.Handler.create(this, this.onLoadPackageComplete, [resKe...

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

434. layabox加载fairygui发布的二进制文件报错 [ 47%]

...rn]Retry to load:",url); this._failRes[url]=errorCount+1; Laya.systemTimer.once(this.retryDelay,this,this._addReTry,[resInfo],false); return; }else { Loader.clearRes(url); console.warn("[error]Failed to load:",url); this.event(/*laya.events.Event.ERROR*/"error",url); } } if (this._failRes[url])this....

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

435. HTTP通信 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

... //请求完成后触发,表示响应数据已经完全接收。 this.hr.once(Event.COMPLETE, this, this.onHttpRequestComplete); //请求出错时触发,常用于网络故障等异常情况。 this.hr.once(Event.ERROR, this, this.onHttpRequestError); //示例中的URL为临时测试的地址,...

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

436. 正交相机要怎么控制啊,坐标什么的全部懵!看了这个官方示例表示不懂,为什么还要转化为2D坐标? [ 47%]

...)改为(0,0,0) var rotation = new Laya.Vector3(0, 0.01, 0); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { layaMonkey.transform.localScale = new Laya.Vector3(300, 300, 300); Laya.Utils3D.convert3DCoordTo2DScreenCoord(translate, translate); layaMonkey.transform.position = transl...

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

437. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 46%]

...   a.run();                  日志:         a1: Handler {once: true, _id: 6, caller: null, args: Array[1]}         a2: Handler {once: true, _id: 0, caller: null, method: null, args: null}         b: Handler {once: true, _id: 7, caller: null, args: Array[1]}         a3: H...

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

438. laya.d3.core.render.BaseRender [ 46%]

...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...

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

439. 发现TimeLine的一些问题,像是BUG [ 46%]

...ne=new TimeLine(); timeLine.to(sp, {y: yy}, 3000, Ease.linearIn); timeLine.once(Event.COMPLETE,this, complete,[sp,timeLine]); timeLine.play(0,false); } //清理缓动的函数 private function clearTime(timeLine:TimeLine):void { timeLine.destroy(); } //缓动播放完成后的回调 private function...

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

440. [LayaAirIDE3]咋么实现鼠标点击角色移动 [ 46%]

...0=起始帧 false=不循环 clipPath=动画资源路径 this.iceMonsterAni.once(Laya.Event.COMPLETE, this, () => { this.iceMonsterAni.visible = false; }); } } 你看看。 LayaAir小牛 • 2025-12-22 15:41 @ZmySir:可以把项目打包发一个demo吗 ZmySir • 2025-12-22 16:18 demo怎么发给...

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