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

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

1. discard property,please use transform's property instead [ 100%]

discard property,please use transform's property instead 运行官网的3D例子时,浏览器一直报这个 2018-07-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 就是那个属性...

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

2. 跟视频做出现这个问题。怎么破 求解 [ 82%]

跟视频做出现这个问题。怎么破 求解 Warning: discard property,please use templet property instead. loader callback cost a long time:191 url=3d/man/hero.ani Warning: The (.lm) file is converted by old fbxTools,please reConverted it use lastest fbxTools version,later we will remove the ...

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

3. 同时使用雾和粒子系统,粒子的颜色变成雾的颜色 [ 81%]

同时使用雾和粒子系统,粒子的颜色变成雾的颜色 2019-08-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 …… 赞同来自: http://ask.layabox.com/question/41966 最后参考这位的,不...

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

4. 2.0 添加场景雾之后 粒子特效离原点越远 效果越淡 [ 74%]

2.0 添加场景雾之后 粒子特效离原点越远 效果越淡 代码添加场景雾:   //添加3D场景 GamePanel.curScene = Laya.loader.getRes("res/LayaScene_wu/Conventional/wu.ls"); Laya.stage.addChildAt(GamePanel.curScene, 0); //开启雾化效果 GamePanel.curScene.enableFog = true; //设...

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

5. Cannot read property 'events' of undefined [ 72%]

Cannot read property 'events' of undefined 打包微信后,提示events为空.Object.defineProperty(laya.events.EventDispatcher.prototype,"_events",{enumerable:false,writable:true}); 手动log"laya"时发现为undefined 附件 : --> 2018-10-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

6. "Cannot read property 'addChild' of undefined" [ 72%]

"Cannot read property 'addChild' of undefined" 第一个方法 是button 响应时间 添加一个Prick 对象 (没有问题) 第二个方法 是通过  viruses.forEach(this.drawVirus);  添加 Prick  (报错 map 没有addChild 方法) 什么鬼?   附件 : --> 2017-05-16 添加评论...

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

7. "Cannot read property '0' of undefined" protobuf.js [ 72%]

"Cannot read property '0' of undefined" protobuf.js 使用protobuf 会提示一次这个异常,第二次运行就没问题了   附件 : --> 2018-03-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron...

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

8. TypeError: Cannot set property 'material' of undefined [ 69%]

TypeError: Cannot set property 'material' of undefined this.unit3D = Laya.Loader.getRes("Unity/Unit.lh") as Laya.MeshSprite3D; this.scene3D.addChild(this.unit3D);         this.unit3D.transform.localScale = new Laya.Vector3(1, 1, 1); this.unit3D.transform.translate(new Laya.Vector3(0, 0, 0))...

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

9. directionLight.direction代码警告提示 [ 67%]

directionLight.direction代码警告提示 定向光设置 directionLight.direction = new Laya.Vector3(-.3, -1, -1); 会提示 Warning: discard property,please use transform's property instead. 去掉就不会, 设置transform会报错 2018-01-12 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

10. Cannot read property 'props' of undefined [ 67%]

Cannot read property 'props' of undefined 搜了一圈又一圈,大致的意思是插件版本和unity版本不对号,教程提供下载最新的插件地址,下载信息: LayaAir3DConvertTools.zip,修改日期为:2018-01-26 14:41,版本:1.7.16………………2年多没更新了~~...

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