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

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

121. 加载成功要怎样判断呢? [ 67%]

...? 不管是Laya.loader.load(url, onLoaded, ...) 还是Laya.loader.on(Event.COMPLETE, this, onLoaded); 加载失败都会到onLoaded,那怎么区分是不是加载成功? 2017-03-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

122. 【官网代码】加载dom音频报错,怎么回事? [ 67%]

...3-4-1 其中,加载dom音频报错,怎么回事? package{import laya.events.Event;import laya.net.HttpRequest;import laya.net.Loader;import laya.utils.Browser; public class Main{private var AudioContext:Object;private var audioContext:Object;private var analyser:Object;private var audioBuffer...

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

123. 列表嵌套另外一个列表 [ 67%]

...seHandler = new Handler(this,onMouse);//当list被点击时触发 并发送event,index } public function onRender(cell:Box,index:int):void { //当list刷新时接收并更改单元格属性 var hero:Image = cell.getChildByName("hero")as Image;//根据名字查找要更改的单元格 hero....

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

124. 3D粒子现在支持Render Mesh吗? [ 66%]

...js:31462)     at Loader._onHierarchylhLoaded (laya.d3.js:31477)     at EventHandler.runWith (laya.core.js:999)     at Loader.event (laya.core.js:1038)     at Loader.complete (laya.core.js:18719)     at Loader.onLoaded (laya.core.js:18675)     at EventHandler.runWith (laya.core.js:997)  ...

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

125. ts项目发布的时候报错 [ 66%]

...时,构建的时候报错。 点击发布,构建,然后出现报错 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

126. mac 开放域 发布失败 [ 65%]

...pp/Contents/Resources/electron.asar/browser/rpc-server.js:257:11)     at EventEmitter.<anonymous> (/Applications/LayaAirIDE.app/Contents/Resources/electron.asar/browser/rpc-server.js:357:5)     at emitMany (events.js:127:13)     at EventEmitter.emit (events.js:204:7)     at WebContents...

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

127. unity 导出文件导入LAYA加载报错 [ 65%]

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

128. Laya2.0 beta3 Animator 中的 on 事件 怎么没了 [ 65%]

...(Laya.Animator);//监听默认动画完成后播放站立动画ani.on(Laya.Event.COMPLETE,this,this.onAniComplete,[ani]);   可是 实际上并没有啊。 没有 on 这个 函数了 .  要用什么代替啊?  2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

129. ide升级到LayaAirIDE_1.7.0_beta 后启动调试器报错 [ 65%]

...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)   附件 : --> 2017-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

130. SpineSkeleton3.8.loadAni如果加载失败一定会引发LAYA底层报错 [ 65%]

...f (this.assetManager.hasErrors()) {                 this.event(Laya.Event.ERROR, "load failed:" + this.assetManager.getErrors());                 return;             }             Laya.Laya.timer.frameOnce(1, this, this.loop);     ...

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