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

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

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. 跟视频做出现这个问题。怎么破 求解 [ 90%]

跟视频做出现这个问题。怎么破 求解 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. Cannot read property 'events' of undefined [ 69%]

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

4. "Cannot read property 'addChild' of undefined" [ 69%]

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

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

5. "Cannot read property '0' of undefined" protobuf.js [ 68%]

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

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

6. 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

7. TypeError: Cannot set property 'material' of undefined [ 66%]

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

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

加载学堂3D角色资源,播放动画异常   //创建男角色模型 this.roleMan = new Laya.MeshSprite3D(Laya.Mesh.load("man/hero-mon_1129.lm")); this.roleMan.transform.localScale = new Laya.Vector3(0.01,0.01,0.01); this.roleMan.transform.localPosition = new Laya.Vector3(0,-0.5,-3); this.sce...

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

9. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 64%]

微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 使用laya生成默认的微信小游戏项目,稍微修改其代码,增加https://github.com/layabox/layaair-doc/tree/master/Chinese/LayaAir_AS3/3D/examples 示例里下载的girl.lh文件,在laya内...

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

10. transform的position废弃了,那现在用啥,官网api更新了吗 [ 64%]

transform的position废弃了,那现在用啥,官网api更新了吗 Warning: discard property,please use transform's property instead. 2018-01-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qian 赞同来...

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