大约有 3,861 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0076 秒)
Laya_社区(3313) Laya2.0_文档(198) Laya3.0_api(102) Laya3.0_文档(97) Laya2.0_api(82) Laya_示例(44) laya_api(25)
...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
...var OBJ = Laya.Pool.getItemByCreateFun("gk2v1",gkpref.create,gkpref); this.Scene.addChild(OBJ); })); 附件 : --> ZMW.zip 2020-10-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 王炸 赞同来自: 我尝试在...
来源: Laya_社区 发布时间: 20201022
...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
...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
...运行了Dialog脚本的OnAwake OnEnable 打开场景的方式是Laya.Scene.open 引擎版本:2.1.0beta 2019-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 180*****998 赞同来自: 创建了就...
来源: Laya_社区 发布时间: 20190517
...个bug,不知道是不是这个原因。 在destroy之前,node节点有scene属性的话,this.timer指向的就是scene的timer,destroy之后,从父容器移除了自己,scene属性就赋值成null了,这时候的timer则指向了Laya.timer,此时清除事件就是在Laya.timer身上...
来源: Laya_社区 发布时间: 20220224
...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
...码中Handler中的setTo()方法 Laya的应用内支付方法调用 Laya.Scene.open打开的对话框中如何在关闭的时候调用父Scene中的方法 关于动画ani文件,编辑ani文件需不需要使用loadanimation方法加载?在最开始的加载吗?还有 我只加载动画使用...
来源: Laya_社区 发布时间: 20180419
...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
...t % 2===1); 使得第一帧时,后续的代码能正常跑下去,否则scene=null 2018-03-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 感谢反馈,已经测试提交。 2018-03...
来源: Laya_社区 发布时间: 20180318