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

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

31. 3D模型怎么删除?没回切换页面原来的模型都还在? [ 67%]

...ug 6.尽管删除this.scene的节点还有脚本都是有问题 this.scene.removeSelf(); this.scene.removeAllScript();     2018-04-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Apple 赞同来自: 2d和3d是...

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

32. 物理引擎bug [ 67%]

...boneCtn.numChildren;i++){ let b=this.boneCtn.getChildAt(i); b.destroy(); b.removeSelf(); }这样写也不行 2019-09-06 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个问题没有上传demo 无法调试和验证,  请上传复现demo以供查看解决这个问题 2019-09-07 0 0 分...

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

33. 同步龙骨插槽动画方案 [ 67%]

...vent.COMPLETE, thisthis.parseComplete);         this.mArmature.removeSelf();//从显示列表移除龙骨动画本身         this.mArmature.removeChildren();//从显示列表移除龙骨动画子对象         if (!this.mArmature.destroyed) {             th...

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

34. 高级应用-寻路导航 [ 67%]

... this.scene.getChildByName("Scenes").getChildByName("Main Camera"); camera.removeSelf(); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox3/skyCube.ltc"); camera.sky = skyBox; //根据场景中方块生成路径点 initPath(this.scene); //...

来源: Laya_示例 发布时间: 20240930

35. 循环监听按钮,如何进行传参和接受参数 [ 67%]

...rentTarget as Laya.Image; console.log('onClickLevel > ' + b.skin); this.removeSelf(); Laya.stage.addChild(new GameMainView());      } 我要怎么从点击的时候传参,然后在点击后的舞台上接受参数进行操作呢 2019-08-02 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

36. 源码List的一次代码错误 [ 67%]

... this._cells.length - 1; i > -1; i--) { var item = this._cells[i]; item.removeSelf(); arr.push(item); } this._cells.length = 0; } for (var k = startY; k < numY; k++) { for (var l = 0; l < numX; l++) { [b][i] if (arr && arr.length) { [/i][/b] cell = arr.pop(); } else { cell = this.cr...

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

37. http无响应 [ 67%]

...BriefView(); mblv.init(); Laya.stage.addChild(mblv); //销毁自身 //this.removeSelf(); this.destroy(); */ connect(); } } //忘记密码 LoginView.prototype.onLableWjmm = function () { this.dlgs = new TanChuang(); this.dlgs.init(); this.dlgs.setContext("请联系管理员找回密码!"); } return L...

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

38. 关于removeChildren、 destroy和destroyChildren的疑惑 [ 66%]

...stage.numChildren; i++) { var object = Laya.stage.getChildAt(i); // object.removeSelf(); Laya.stage.removeChildAt(i); object.destroy(true); }该对象继续在屏幕上显示。。。(IDE版本1.7.10.bate) 使用Laya.stage.destroyChildren();是可以移除该对象的 2017-10-12 添加评论 免...

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

39. 关于官方技术文档中《微信飞机大战》实战开发中监听界面是否关闭 [ 66%]

...id { console.log("GameStart界面关闭!"); //从舞台移除自己 this.removeSelf(); //只加载一次,因此直接消毁自己 this.destroy(); }onClose方法并没走到,控制台没输出,请问是什么问题呢 2018-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

40. 物体每帧y方向移动,超出屏幕高度消失,可还没有超出屏幕高度就提前消失了! [ 66%]

...his.speed; if (this.obstacle0.y > Laya.Browser.height) { this.obstacle0.removeSelf(); } }); } 2018-08-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 189*****192 赞同来自: 鹳厶  if (this.obstacle0.y &g...

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