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

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

231. 内存优化方式(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

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

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

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

233. [LayaAirIDE3]Laya3.2.1命令行打包,编译错误也生成成功 [ 64%]

[LayaAirIDE3]Laya3.2.1命令行打包,编译错误也生成成功 [20352:0102/100424.479:ERROR:node_bindings.cc(378)] Most NODE_OPTIONs are not supported in packaged apps. See documentation for more details. engine libs bin://engine/libs/spine-core-3.8.js,bin://engine/libs/laya.bullet.js,bin://en...

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

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

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

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

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

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

237. 内存优化方式(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

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

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

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

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

240. [0]layaair2-cmd 编译bug [ 63%]

...!这是为什么? 已上传 Demo 附件 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target Laya中的宏编译要怎么用啊 TypeScript下HttpRequest发送Post请求有Bug? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。...

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