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

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

51. 移除ANI [ 61%]

...是 动画依然存在   private backindex():void{         this.removeSelf();        Laya.Scene.open("Gameindex.scene");   }       2019-12-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为...

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

52. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 60%]

...          tarItem = null;             this.camera.removeSelf();             this.camera.destroy(true);             this.camera = null;              this.scene.destroy();             Laya.Scene.gc();         })); 以...

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

53. laya.display.Node [ 60%]

...t = 0x7fffffff):Node 删除指定索引区间的所有子对象。 Node  removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node  replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node  setChildIndex(node:Node, index:int):Node 设置子节点的...

来源: laya_api 发布时间: 20170929

54. 使用3D精灵 · LayaAir3.0文档 · LAYABOX [ 60%]

...,也可以对节点做一些基础操作,比如删除掉自己方法 removeSelf() /** * 从父容器删除自己,如已经被删除不会抛出异常。 * @return 当前节点( Node )对象。 */ removeSelf(): Node { this._parent && this._parent.removeChild(this); return this; } ...

来源: Laya3.0_文档 发布时间: 20240624

55. 使用Tween.to完成回调异常! [ 59%]

...ete)); protected function onFloatComplete(callBack:Function):void {  this.removeSelf(); } 我用这个缓动来做飘字效果,完成回调的时候,把飘字对象在场景上移除,结果执行次数很多之后,发现场景上有许多飘字并没有被移除,有没有可能是缓动...

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

56. 请问 LayaAir官网中有没有场景切换的例子? [ 59%]

...的那位差不多 他报错的原因是this后面少了名称 this.名称.removeSelf()   2018-07-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 LM20081991 相关问题 2.0一不小心删了bin目录下的某个场景json文件。。...

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

57. 【简单跑酷--JS版】---Lv.3 添加地板 [ 58%]

...前floor Laya.timer.clear(this, this.onLoop); this.visible = false; this.removeSelf(); } } })(); 地板有了 我们打开MapFloor.js 来添加地板 (function () { /** * 地板地图类 * */ function MapFloor(){ MapFloor.__super.call(this); this.init(); } //MapFloor 是一个显示对象 继承此 ...

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

58. .ani文件能预加载吗? [ 58%]

...放完的事件 ani.on(Laya.Event.COMPLETE,this,(ani:Animation)=>{ ani.removeSelf(); ani.destroy(); },[ani]); ani.play(0,false); 2018-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自...

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

59. laya.display.Node_API3.0 [ 58%]

...e onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce Constructors constructor new Node(): Node Defined in laya/display/Node.ts:94 Returns Node Properties Optional _extra _extra: INodeExtra Defined in laya/di...

来源: Laya3.0_api 发布时间: 20231115

60. sprite.mask的疑问 [ 57%]

...hildAt(0).getChildAt(0).getChildByName("B") as Sprite;         b.removeSelf();         a.mask = b;     } 2020-08-14 0 2 分享 微博 QZONE 微信 Laya_XS 赞同来自: 只显示B这个叫遮罩,比如这个地址的效果:https://layaair2.ldc2.layabox.com/demo2/?language...

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