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

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

131. 超过最大调用堆栈大小 [ 75%]

...:8383");         output = socket.output;         socket.on(Event.OPEN, this, this.onSocketOpen);         socket.on(Event.CLOSE, this, this.onSocketClose);         socket.on(Event.MESSAGE, this, this.onMessageReveived);         socket.on(Event.ERROR, this, this...

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

132. 关于代码打印调试的一些问题 [ 75%]

... LayaAir2D示例 Mac 2.0.0beta3 Chrome调试黑屏 graphics alpha 问题 event自定义事件的问题 路径是对的,但老是,调试控制台提示:错误,图片是IDE自带的,也不显示 这样写的代码,Tween动画里面只有alpha有效果,scalex和scaley没有变化,怎么...

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

133. ts项目发布的时候报错 [ 75%]

...时,构建的时候报错。 点击发布,构建,然后出现报错 events.js:160 throw er; // Unhandled 'error' event ^ Error: spawn tsc ENOENT at exports._errnoException (util.js:1022:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) at onErrorNT (internal/child_p...

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

134. 引擎示例中的错误 [ 75%]

...layabox. ... DForm 1、constructor里的最后一行: Laya.stage.on(Laya.Event.RESIZE, this, this.fitDOMElements, [emailInput, birthdayInput, passwordInput]); 当stage调整尺寸时,对3个input位置进行调整,当初次运行时,3个input框排在网页左上角,必须手动改变一...

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

135. 怎么播放声音? [ 75%]

...写了:   var bg_sound:Laya.Sound =new Laya.Sound(); bg_sound.on(Laya.Event.COMPLETE,this,this.loadcom_f); bg_sound.on(Laya.Event.PROGRESS,this,this.loadcom_f); bg_sound.on(Laya.Event.ERROR,this,this.loadcom_f); bg_sound.load("res/bg.mp3"); private loadcom_f(e:Laya.Event):void{ console.log("-----...

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

136. 打包app,http无法设置content-type [ 75%]

...gt;, cb:(err:Error, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { cb(null, data); }); req.on(Event.ERROR, this, (err) => { console.error(err); cb(err); }); let body = data; let tp = typeof data if(tp === 'object' || tp === 'array'){ if(method === 'pos...

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

137. 加载SK文件时,报错如下:Uncaught getUint16 error - Out of bounds [ 75%]

... getUint16 error - Out of bounds var roleTemp = new Templet(); roleTemp.on(Event.COMPLETE, this, function(){ var roleAni = roleTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/eff...

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

138. Laya.URL.basePath加载不到网络资源 [ 74%]

...js:13291 (anonymous) @ code.js:13283 __proto.runWith @ code.js:720 __proto.event @ code.js:494 __proto.onError @ code.js:12784 __proto.runWith @ code.js:720 __proto.event @ code.js:494 __proto.error @ code.js:12548 __proto._onError @ code.js:12523 http.onerror @ code.js:12485 _triggerEvent @ weapp-a...

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

139. unity 导出文件导入LAYA加载报错 [ 74%]

...nAsynLoaded (laya.d3.js:23826) at ResInfo.onLoaded (laya.core.js:11401) at EventHandler.__proto.runWith (laya.core.js:672) at ResInfo.__proto.event (laya.core.js:449) at LoaderManager.__proto._endLoad (laya.core.js:11511) at Loader.onLoaded (laya.core.js:11490) at EventHandler.__proto.runWith (laya....

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

140. laya.resource.Prefab_API3.0 [ 74%]

...ce _setCPUMemory _setCreateURL _setGPUMemory addDep addDeps create destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new Prefab(version?: number): Prefab Overrides Resource.__constructor Defined in laya/resource/HierarchyResourc...

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