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

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

1. 使用RigidBody刚体报错Cannot read properties of undefined (reading '__className') [ 100%]

...使用RigidBody刚体报错Cannot read properties of undefined (reading '__className') 附件 : --> LayaDemo1.zip 2023-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 layabox小高 赞同来自:   2023-03-16...

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

2. js继承模式 [ 85%]

js继承模式     new function() { var className = 'BackGround'; window[className] = (function() { Laya.class(Class, className, Laya.Sprite); function Class() { Class.super(this); // this定义.. this.init(); } Class.prototype.init = function() { console.log(this); }; return Class; })(); } var _...

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

3. Laya.PolygonCollider [ 66%]

...添加代码addComponent(Laya.PolygonCollider) 报cannot read property '__classname' of undefined。 不用我上传实例DEMO,就新建物理demo,把plane.addComponent(Laya.PhysicsCollider)改为addComponent(Laya.PolygonCollider)就报错了。打算测试这个组件的,测不了。 附件 : -...

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

4. [LayaAir3]addComponent(Laya.Rigidbody3D); 报错 [ 65%]

...报错 TypeError: Cannot read properties of undefined (reading '__className')  使用版本laya 3.1.0 beta3 ,  老版本3.0.10打包web复制不了animationcontroller,更新到这个版本出现了另外的问题,设置rigidbody3d istrigger 无效。 想搞个demo重现又出...

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

5. 打包安卓Android studio黑屏 [ 64%]

...gt;>>>>>>>>>>>>>>>>>>className:layaair.game.utility.LayaAudioMusic,methodName:resumeBackgroundMusic     >>>>>>>>>>>>before E/LayaBox: >>>>>>>>>>>>after D/ConnectivityMana...

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

6. js进度,进度,js场景进度效果 [ 63%]

js进度,进度,js场景进度效果 new function() { var className = 'Game'; window[className] = (function(original) { function Class() { this.arr = [ "res/atlas/lucky8.json", "res/atlas/lucky8/lewinlineicons.json", "res/atlas/lucky8/setting.json", "res/atlas/lucky8/setView.json", "res/atlas/lucky...

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

7. 播放背景音乐报错,引发闪退 [ 62%]

...gt;>>>>>>>>>>>>>>>>>>className:layaair.game.utility.LayaAudioMusic,methodName:stopBackgroundMusic 12-26 14:27:10.053 1552-1616/com.mylafe.game.handsomecat E/LayaBox: >>>>>>>>>>>>before 12-26 14:27:10.059 1552...

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

8. 背景音乐来回切换报错 [ 54%]

...gt;>>>>>>>>>>>>>>>>>>className:layaair.game.utility.LayaAudioMusic,methodName:stopBackgroundMusic 07-16 13:28:21.072 1331-1384/com.layabox.game E/LayaBox: >>>>>>>>>>>>before 07-16 13:28:21.112 1331-1384/com.l...

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

9. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 48%]

...gt;>>>>>>>>>>>>>>>>>>className:layaair.game.utility.LayaAudioMusic,methodName:resumeBackgroundMusic E/LayaBox: >>>>>>>>>>>>before E/LayaBox: >>>>>>>>>>>>after I/0: >>...

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

10. dcc更新失效, 有代码, 100%复现, 三楼附临时解决办法 [ 47%]

...gt;>>>>>>>>>>>>>>>>>>className:layaair.game.utility.LayaAudioMusic,methodName:resumeBackgroundMusic 05-16 15:59:49.011 7562-7562/com.dihong.testdcc E/LayaBox: >>>>>>>>>>>>before 05-16 15:59:49.012 7562-7562/c...

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