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

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

111. 调试时报错Error processing "evaluate": TypeError: Cannot read property 'api' of undefined [ 78%]

...\node_modules\vscode-debugadapter\lib\protocol.js:24:60)     at emitOne (events.js:96:13)     at Socket.emit (events.js:188:7)     at readableAddChunk (_stream_readable.js:176:18) 2017-03-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

112. UNITY3D导出模型加载错误 [ 78%]

...core.js:12339) at Loader.Laya3D._onHierarchylhLoaded (laya.d3.js:16030) at EventHandler.__proto.runWith (laya.core.js:687) at Loader.__proto.event (laya.core.js:465) at Loader.__proto.complete (laya.core.js:12141) at Loader.__proto.onLoaded (laya.core.js:12130) at EventHandler.__proto.runWith (laya....

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

113. LAYA AIR ide1.7.1beta 网页跟手机调试不能用 [ 78%]

...g-core\node_modules\vscode-debugadapter\lib\protocol.js:24:60) at emitOne (events.js:96:13) at Socket.emit (events.js:188:7) at readableAddChunk (_stream_readable.js:176:18) Error processing "evaluate": TypeError: Cannot read property 'api' of undefined at ChromeConnection.get api [as api] (f:\LayaA...

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

114. 微信头像请求方式 [ 77%]

...建请求 let httpRequest = new Laya.HttpRequest(); httpRequest.once(Laya.Event.COMPLETE, this, (data)=>{ let byte = new Laya.Byte(data); byte.writeArrayBuffer(data, 4); let blob = new Laya.Browser.window.Blob([data], {type:'image/apng'}); let url = Laya.Browser.window.URL.createObjectURL(blob); ...

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

115. Spine动画资源加载时不能同时使用"版本管理"和"URL.basePath" [ 77%]

...; }; var tSkBuffer=Loader.getRes(this._skBufferUrl); if (!tSkBuffer){ this.event(/*laya.events.Event.ERROR*/"error","load failed:"+this._skBufferUrl); return; } //MODIFIED:使用formatPath进行路径过滤 this._path=this.formatPath(this._skBufferUrl.slice(0,this._skBufferUrl.lastIndexOf("/"))+"/")...

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

116. 调用ui,new的时候出现Uncaught TypeError: Cannot read property 'call' of undefined [ 77%]

... new Test (Test.js:3)     at onAssetLoaded (LayaUISample.js:64)     at EventHandler.__proto.runWith (laya.core.js:681)     at ResInfo.__proto.event (laya.core.js:460)     at LoaderManager.__proto._endLoad (laya.core.js:11993)     at Loader.onLoaded (laya.core.js:11972)     at EventHandle...

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

117. socket无法连接服务器 [ 77%]

...d;         private initSocket(): void {             this.on(Laya.Event.OPEN, this, this.onConected);             this.on(Laya.Event.ERROR, this, this.onError);         }         public conectToServer(): void { //“连接”按钮的回调             if (this.connected...

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

118. 龙骨动画的监听回调,有时能回调,有时不能回调 [ 77%]

...c initTemplet(){ this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); // this.mFactory.on(Laya.Event.STOPPED,this,this.parseComplete); this.mFactory.on(Laya.Event.ERROR, this, this.onError); this.mFactory.loadAni("res/games/Game_ddz/animation/ddz_figur...

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

119. 版本管理swf找同名的Json文件发现找不到 [ 77%]

...;             if (!data){                 this.event(/*laya.events.Event.ERROR*/"error","file not find");                 return;             }             // console.log("this['_atlasPath']---->",this['_atlasPath']);      ...

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

120. LayaFlash如何使用chrome调试问题? [ 76%]

...n.as的代码如下: package { import flash.display.Sprite; import flash.events.Event; public class Main extends Sprite { public function Main() { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(event:Event = null):void { removeEventListener(Event.ADDE...

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