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

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

221. worker的问题 [ 64%]

...2479 关注: 2 人 lianxueliushi • 2018-06-27 15:37 我也是报一样的错误,我也把js文件引用到index.html中了,但是还是"Failed to construct 'Worker': Please use the 'new' operator, this DOM object constructor cannot be called as a function."

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

222. 使用Layaair调试播放MP3报错 [ 64%]

...下,播放MP3出错,路径里有中文。请问下是BUG还是我代码错误???? PS:如果使用chrome调试可以成功播放出音乐,但是控制台还是会出错。 Error: DOMException: Failed to load because no supported source was found.  Error: DOMException: The element has n...

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

223. 请分享些大型项目的调试经验 [ 64%]

...率,VS Code的优势有以下几点:   - 在发生JavaScript运行时错误时,VS Code会自动在对应的代码位置断点,并且可以立即查看当前的变量状态、调用堆栈、日志输出等信息。在Chrome中,我们需要在错误的位置上手动打断点,然后再尝...

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

224. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 64%]

...源,需要对加载资源的进度进行显示,下面的编码为就是错误的。 1. `Laya.loader.load(urls, Laya.Handler.create(this, onAssetLoaded), Laya.Handler.create(this, onLoading));` 在上面的代码中,使用`Laya.Handler.create(this,onLoading)`返回的回调方法,是要处理...

来源: Laya2.0_文档 发布时间: 20210715

225. macOS系统运行layaair-cmd resourceVersion报错 [ 64%]

... 运行layaair-cmd resourceVersion -i ./src/res -o ./src -n 1000 报错,错误如下:   internal/child_process.js:323     throw errnoException(err, 'spawn');     ^   Error: spawn EACCES     at _errnoException (util.js:1022:11)     at ChildProcess.spawn (internal/child_process.js:323:11...

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

226. laya.net.Loader_API3.0 [ 63%]

...y: number = 0 Defined in laya/net/Loader.ts:122 延迟时间多久再进行错误重试,默认立即重试 retryNum retryNum: number = 1 Defined in laya/net/Loader.ts:120 加载出错后的重试次数,默认重试一次 Static ANIMATIONCLIP ANIMATIONCLIP: string = "ANIMATIONCLIP" Defined in lay...

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

227. 新手,从unity导出地形的问题 [ 63%]

...wElements: attempt to access out of range vertices in attribute 0   很多错误 2017-12-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Monica - 知识达人 赞同来自: 你这边用的是最新版本的引...

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

228. layaair2.0创建场景玩后 然后制作动画 编译浏览器看到的只有精灵 没有动画?? [ 63%]

...!这是为什么? 已上传 Demo 附件 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target Laya中的宏编译要怎么用啊 iphone自带浏览器页面怎么锁定 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何...

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

229. 内存优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 63%]

...源,需要对加载资源的进度进行显示,下面的编码为就是错误的。 1. `Laya.loader.load(urls, Laya.Handler.create(this, this.onAssetLoaded), Laya.Handler.create(this, this.onLoading));` 在上面的代码中,使用`Laya.Handler.create(this,this.onLoading)`返回的回调方法...

来源: Laya2.0_文档 发布时间: 20210715

230. unity导出的ls和lh文件发布到微信小程序,用微信开发者工具打开报错 [ 63%]

...微信小程序之后,在微信开发者工具(v1.02.1802080)里报错,错误为"Scene: the .lh file root type must be Scene,please use other function to load this file."或"Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file." 跟了一下,发现__pro...

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