大约有 53 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0037 秒)
...,但是原来碰撞检测rect没有旋转 unity导出粒子文件问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 iphoneX环境下新手引导的抠图透...
来源: Laya_社区 发布时间: 20180525
我照的列子做,Protobuf,结果报错! demo:http://layaair.ldc.layabox.com ... uffer ts code: ============================================================ class Game{ private ProtoBuf:any = Browser.window.dcodeIO.ProtoBuf; ... } err code: =============================...
来源: Laya_社区 发布时间: 20170222
[LayaAir2]FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory 编译报错,求解决方案 附件 : --> 2025-08-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 肖亮亮 赞同...
来源: Laya_社区 发布时间: 20250808
layaair2-cmd 运行报错,求助 PS D:\Work\LayaTest\fightDemo2.7.1\fightDemo2.7.1> layaair2-cmd compile internal/mod ules/cjs/loader.js:638 throw err; ^ Error: Cannot find module 'C:\Users\Nick'z\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\gulp\bin\gulp.js' at...
来源: Laya_社区 发布时间: 20201110
深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 1.背景 通常情况下我们在做项目时都是在LayaAir IDE下进行调试和开发的。通常情况不会接触到typescript的“编译”和bundle过程。这节我们要深入了解其中...
来源: Laya_社区 发布时间: 20200918
分享:Laya开发TS项目使用pomelo客户端SDK(pomelo-jsclient-websocket) 理论上来说,pomelo-jsclient-websocket是js,ts作为js的超集,应该直接引用一下脚本就应该无压力兼容的,结果实际操作中是磕磕绊绊,遇到了一些问题,现在总算解决...
来源: Laya_社区 发布时间: 20180109
...用Loader加载图片在Sprite对象的.on函数无效 var tempnote = new Laya.Sprite(); 使用 tempnote.texture=Loader.getRes(tempjson.pic)后 tempnote.on函数不触发 使用tempnote.loadImage(tempjson.pic); 触发正常,如果我想使用Loader.getRes 来载入缓存的图片应如何处理. 2...
来源: Laya_社区 发布时间: 20171024
LayaAir引擎 LayaAir3D Warning : MyWater must config in CustomShaderConfig File. 1.在Unity中,自定义一个shader,然后应用到场景中去,用laya导出工具导出场景,会提示 LayaAir3D Warning : MyWater must config in CustomShaderConfig File,同时导出的场景文件中也...
来源: Laya_社区 发布时间: 20190819
LayaAir引擎 Cannot read property 'load' of null 查了断点,看到Laya.loader是null,为什么会出现为null的情况? 代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static...
来源: Laya_社区 发布时间: 20171124
[LayaAir2]iOS设备,抖音app报错 requestAnimationFrame 使用的Layaair引擎2.13.1 [TMG] Object {message: "at requestAnimationFrame ... message: "at requestAnimationFrame callback err1" name: "USER_RUNTIME_ERROR" stack: "construct@[native code] at f(helium.js:4:269) at ?(helium.js:4:865)...
来源: Laya_社区 发布时间: 20240305