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

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

141. 微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene [ 63%]

...  Utils3D._createNodeByJson(this,json,this,innerResouMap);     this.event("hierarchyloaded",[this]);     this.__loaded=true;   }   打了一个log,发现data[0]读取出来的结果是"{",也就是说data被按照字符串读取了,而不是数组。   /**     *结束加载,...

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

142. unity导出的场景.ls加载到laya3d中报错 [ 63%]

...fo.onLoaded (file:///D:/layaTest/mylaya/bin/libs/laya.core.js:12397:61) at EventHandler.__proto.runWith (file:///D:/layaTest/mylaya/bin/libs/laya.core.js:688:60) at ResInfo.__proto.event (file:///D:/layaTest/mylaya/bin/libs/laya.core.js:467:29) at LoaderManager.__proto._endLoad (file:///D:/layaTest/...

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

143. socket通讯返回数据 [ 63%]

...接 this.socket.connectByUrl("ws://localhost:8899"); this.socket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); // this.s...

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

144. web端ios这边加载压缩的图片加载报错 [ 63%]

...修改 complete(data) { this._data = data; if (this._customParse) { this.event(Event.LOADED, data instanceof Array ? [data] : data); } else { this._http.offAllCaller(this); Loader._loaders.push(this); if (!Loader._isWorking) Loader.checkNext(); } } 2020-02-17 0 0 分享 微博 QZONE 微信 为什么...

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

145. laya.resource.RenderTexture_API3.0 [ 63%]

... _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool configRenderContextInstance createFromPool destroyUnusedResources recoverToPool Constructors constructor new Rende...

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

146. replaceSlotSkinName对于spine换肤不成功 [ 63%]

...0,Laya.WebGL); this.m_templet = new Laya.Templet(); this.m_templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.m_templet.on(Laya.Event.ERROR,this,this.onError); this.m_templet.loadAni("res/spine/goblins/goblins.sk"); } private onError():void { console.log("parse error"); } private parseC...

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

147. ProgressBar 代码问题 [ 62%]

...popup并且模拟进度条加载 按钮代码: this.testLoadingBar_anim.on(Event.CLICK,this,()=>{     var loading : Onloading = new Onloading();     loading.popup(true);     Laya.timer.loop(100, this, loading.changeValue); }); 进度条代码: import Handler = Laya.Handler; export class Onl...

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

148. laya.ui.CheckBox_API3.0 [ 62%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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

149. 运行调试layaair后黑屏,用的js [ 62%]

... at onLoaded (file:///Users/moos/Company/EmersonGame/src/Game.js:43:25) at EventHandler.__proto.runWith (file:///Users/moos/Company/EmersonGame/bin/libs/laya.core.js:724:59) at ResInfo.__proto.event (file:///Users/moos/Company/EmersonGame/bin/libs/laya.core.js:494:28) at LoaderManager.__proto._endLo...

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

150. Laya2.9Unity插件问题 [ 62%]

...0) UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout) (at D:/unity/Modules/UIElements/IMGUIContainer.cs:266) UnityEngine.Experimental.UIElements.IMGUIContainer.Handl...

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