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

大约有 3,861 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0076 秒)

741. TypeError: Cannot read property '_doAwake' of undefined [ 72%]

...nnot read property 'props' of undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. Property 'BoxMesh' does not exist on type 'typeof Laya' 构建出来的安卓项目...

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

742. 在加载包含Animation的prefab后,动画没有显示 [ 72%]

...var OBJ = Laya.Pool.getItemByCreateFun("gk2v1",gkpref.create,gkpref); this.Scene.addChild(OBJ); })); 附件 : --> ZMW.zip 2020-10-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 王炸 赞同来自: 我尝试在...

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

743. Cannot read property '_getBit' of undefined [ 72%]

...of undefined 主view移除子view时报错。   添加方法:this.m_MainScene.addChildAt(sc, this.m_MainScene.numChildren - 1);   移除方法:this.m_MainScene.removeChild(sc); 附件 : --> 2019-01-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

744. 怎么设置模型高度 [ 72%]

...new Laya.BoxMesh(0.6, 0.6, 0.6); var box = new Laya.MeshSprite3D(boxmesh); scene.addChild(box); box.transform.translate(_position); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.p...

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

745. LayaScript onEnable如何在加载场景后不执行 [ 72%]

...运行了Dialog脚本的OnAwake OnEnable   打开场景的方式是Laya.Scene.open    引擎版本:2.1.0beta 2019-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 180*****998 赞同来自: 创建了就...

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

746. Node.ts 节点销毁之后为什么要注释掉 timer 的清理操作。 [ 72%]

...个bug,不知道是不是这个原因。 在destroy之前,node节点有scene属性的话,this.timer指向的就是scene的timer,destroy之后,从父容器移除了自己,scene属性就赋值成null了,这时候的timer则指向了Laya.timer,此时清除事件就是在Laya.timer身上...

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

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

...nnot read property 'props' of undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined Request failed Status:404 text:undefined 销毁有声音的spine动画,skeleton中的_onAniSoundStoped有时会报undefined错误 discard property,please use transform's property instead XmlDo...

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

748. DialogManager 内部的方法能改成私有的吗? [ 72%]

...码中Handler中的setTo()方法 Laya的应用内支付方法调用 Laya.Scene.open打开的对话框中如何在关闭的时候调用父Scene中的方法 关于动画ani文件,编辑ani文件需不需要使用loadanimation方法加载?在最开始的加载吗?还有 我只加载动画使用...

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

749. 关于界面显示3d模型问题 [ 72%]

...enli • 2018-03-12 09:55 看了下,例子还是3d模型只能addChild到scene里面,假如我是要在ui界面里面展示3d模型呢,ui界面不可能addchild到scene里面吧? qian • 2018-03-12 10:08 https://ldc.layabox.com/doc/?nav=zh-as-4-1-2 参考这个文档 这是在2D中嵌入3D...

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

750. BUG: Laya3D 1.7.17 SLOW 模式 [ 72%]

...t % 2===1); 使得第一帧时,后续的代码能正常跑下去,否则scene=null 2018-03-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 感谢反馈,已经测试提交。 2018-03...

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