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

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

1. es6转es5后addComponent继承了Laya.Script3D的脚本后编译报错 [ 100%]

es6转es5后addComponent继承了Laya.Script3D的脚本后编译报错 es6转es5后addComponent继承了Laya.Script3D的脚本后编译报错,无法addComponent脚本 附件 : --> 2020-04-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

2. [LayaAir3]addComponent(Laya.Rigidbody3D); 报错 [ 98%]

[LayaAir3]addComponent(Laya.Rigidbody3D); 报错 //组件被启用后执行,例如节点被添加到舞台后     onEnable(): void {         let a = this.owner.getChildByName("Sprite3D") as Laya.Sprite3D;         console.log(a,typeof(a))         let aa = a.addComponent(Laya.Rigidbod...

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

3. 寻路导航示例中添加Laya.PathFind组件报异常 [ 78%]

...e添加PathFind组件 var pathFingding: Laya.PathFind = this.terrainSprite.addComponent(Laya.PathFind) as Laya.PathFind; pathFingding.setting = { allowDiagonal: true, dontCrossCorners: false, heuristic: PathFinding.core.Heuristic.manhattan, weight: 1 }; var aStarMap: Laya.Texture2D = Laya.Loader.get...

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

4. 加载学堂3D角色资源,播放动画异常 [ 67%]

...男角色添加贴图动画 var manAni:Laya.SkinAnimations = this.roleMan.addComponent(Laya.SkinAnimations) as Laya.SkinAnimations; manAni.url="man/hero.ani"; manAni.player.play(); // play函数调用后出错。!!!     Warning: discard property,please use templet property instead.   2018-0...

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

5. Cannot read property '_physicsUpdateList' of null 错误 [ 60%]

...ad property '_physicsUpdateList' of null 错误 添加 var collider = ball.addComponent(Laya.PhysicsCollider) 添加碰撞以后 再销毁 destroy这个对象的时候 就出错了   Uncaught TypeError: Cannot read property '_physicsUpdateList' of null     at PhysicsCollider.__proto._onDestroy (...

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

6. 官方DynamicBatchTest照做为什么动态合不了批? [ 60%]

... camera.transform.rotate(new Laya.Vector3(-40, 0, 0), true, false); camera.addComponent(CameraMoveScript);   Laya.Texture2D.load("res/threeDimen/layabox.png", Laya.Handler.create(this, function (tex) { var radius = new Laya.Vector3(0, 0, 1); var radMatrix = new Laya.Matrix4x4(); var circleCount = 5...

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