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

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

1. unity导出的3D动画模型,导入 laya环境报错: node._setParent is not a function [ 100%]

unity导出的3D动画模型,导入 laya环境报错: node._setParent is not a function var role3D: Laya.Sprite3D = Laya.loader.getRes("res/lk4.lh") as Laya.Sprite3D; //加载到场景 scene.addChild(role3D);  //此处报错 var ani = role3D.getComponent(Laya.Animator) as Laya.Animator; //播...

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

2. 给图片节点添加新创建的图片,会报这个错:node._setParent is not a function [ 98%]

给图片节点添加新创建的图片,会报这个错:node._setParent is not a function this.imageBg = this.owner.getChildByName("image_bg"); console.log("this.imageBg==="+this.imageBg); for (let iColumns = 1; iColumns < this.intColumns; iColumns++) { this.arrLove[iColumns] = []; for (let ...

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

3. Node.prototype.removeChildren移除计数有问题 [ 73%]

... - beginIndex); } for (var i = 0, n = arr.length; i < n; i++) { arr[i]._setParent(null); } } return this; }splice第二个参数表删除长度,那么两个下标之间的数量不应该是endIndex-beginIndex+1吗?这是很基本的计数问题啊。。 假设有个节点p,想要移除内...

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

4. Box2D使用Destory join报错? [ 64%]

...space/smallballs/bin/libs/laya.core.js:13650:58)     at Sprite.__proto._setParent (file:///D:/develop/layaspace/smallballs/bin/libs/laya.core.js:13367:10)     at Sprite.__proto._setParent (file:///D:/develop/layaspace/smallballs/bin/libs/laya.core.js:18323:31)     at MainScene.__proto.remov...

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

5. 加载3D素材,报错如下图。数据可以打印.... [ 61%]

...材,报错如下图。数据可以打印.... Uncaught TypeError: node._setParent is not a function 附件 : --> 2019-03-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 bpmf_d 赞同来自: 可以多提供一...

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

6. Laya.loader.load 加载场景报错 [ 61%]

... 执行后,浏览器报 : laya.core.js:13290 Uncaught TypeError: node._setParent is not a function at Stage.__proto.addChild (laya.core.js:13290) at Main.<anonymous> (Main.ts:148) at EventHandler.__proto.runWith (laya.core.js:1399) at ResInfo.__proto.event (laya.core.js:1156) at LoaderMana...

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

7. 求助。资源加载问题,按照官方demo出现问题 [ 57%]

...无法正常使用,会提示laya.core.js:12752 Uncaught TypeError: node._setParent is not a function 具体代码如下:    Laya.Sprite3D.load(url, Laya.Hander.create(this, this.onLoadComplete)) (不会报错)    Laya.loader.create(url, Laya.Hander.create(this, this.onLoadComplete))(会报...

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

8. laya升级到2.0.0beat4版本,加载场景出现的bug [ 57%]

...e) as Laya.Scene3D; Laya.stage.addChild(scene3D); 异常: TypeError: node._setParent is not a function preload.js:55 at Stage.__proto.addChild (file:///E:/H5Project/TestH5Project/TestFeiChe3D/bin/libs/laya.core.js:13235:9) 2018-10-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

9. TypeError: Cannot read property '_addRenderObject' of undefined [ 57%]

...:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.d3.js:5502:16)   at Sprite3D._setParent (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.core.js:12142:26)   at Stage.addChild (file:///E:/A_LayaDemo/test3Dscene/bin/libs/laya.core.js:11998:22)   at GameUI.onLoadSceneOver (file:///E:/A_LayaDemo/test3Dsc...

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

10. input setforbidEdit is not a function [ 56%]

...a function unity导出的3D动画模型,导入 laya环境报错: node._setParent is not a function 问题状态 最新活动: 2017-10-24 16:13 浏览: 968 关注: 2 人 Monica • 2017-10-24 16:36 你用最新版本的Native看下吧,目前你这个版本是比较旧的了。新版本我这边...

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