大约有 338 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)
Laya_社区(102) Laya3.0_api(79) Laya2.0_api(73) laya_api(68) Laya3.0_文档(7) Laya2.0_文档(6) Laya_示例(2) Laya2.0_示例(1)
...e onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new TrailSprite3D(name?: string): TrailSprite3D Overrides RenderableSprite3D.constructor Defined in laya/d3/core...
来源: Laya3.0_api 发布时间: 20231115
...e onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new SimpleSkinnedMeshSprite3D(mesh?: Mesh, name?: string): SimpleSkinnedMeshSprite3D Overrides RenderableSprite3...
来源: Laya3.0_api 发布时间: 20231115
...n false; } public static unLink2Node(Sprite3D: Laya.Sprite3D) { Sprite3D.removeSelf(); } 2019-09-19 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 133*****831 相关问题 微信关系链:LayaAir引擎针对微信小游戏好友...
来源: Laya_社区 发布时间: 20190918
...owner.x, owner.y);//设置爆炸动画的位置,让其跟随方块 owner.removeSelf();//删除方块自身节点对象 Laya.SoundManager.playSound("resources/sound/destroy.wav"); } } PhysicsGameMainRT.instance.addScore(1); } else if (other.label === "ground") { //只要有一个盒子碰到地板...
来源: Laya3.0_文档 发布时间: 20251010
...); Laya.stage.addChild(Laya.sg_sign); } function onWxSign1(){ Laya.sg_sign.removeSelf(); Laya.Pool.recover("sg_sign",Laya.sg_sign); Laya.sg_index = new sg_index(); Laya.stage.addChild(Laya.sg_index); } 这样写可以吗 还有ui和代码创建出来 之间的切换要怎么写 2017-07-25 添加评...
来源: Laya_社区 发布时间: 20170725
...once removeChild removeChildAt removeChildByName removeChildren removeLine removeSelf replaceChild runCallLater setChildIndex setLine timerLoop timerOnce instantiate load Constructors constructor new PixelLineSprite3D(maxCount?: number, name?: string): PixelLineSprite3D Overrides RenderableSprite3D....
来源: Laya3.0_api 发布时间: 20231115
...注意子节点将会被移除,但不会销毁 从父容器删除自己removeSelf() 在不需要知道父节点的情况下,调用此方法可直接从父节点删除自己,此方法使用频率比较多 根据名字删除对应子节点removeChildByName(name: string) 当我们知道某个节...
来源: Laya3.0_文档 发布时间: 20251010
...his, (e) => { if (e.name == "xiaoshi") { ufo.offAllCaller(this); // ufo.removeSelf(); } }); })); } genSpine(url, handler: Laya.Handler) { var templet = new Laya.SpineTemplet(Laya.SpineVersion.v4_0); templet.on(Laya.Event.COMPLETE, handler.caller, handler.method); templet.on(Laya.Event.ERRO...
来源: Laya_社区 发布时间: 20220530
...; function Wipe() { console.log(other._owner); //移除自己 other._owner.removeSelf(); return; } } else { var move1 = new Laya.Vector3(0.02, 0, 0); var move2 = new Laya.Vector3(-0.02, 0, 0); Laya.timer.once(0, null, Right); Laya.timer.once(50, null, Left); function Right() { other.owner.transform....
来源: Laya_社区 发布时间: 20181017
...l.recover('Container', container) Laya.stage.addChild(container) container.removeSelf() } laya.utils.Pool.clearBySign('Text') laya.utils.Pool.clearBySign('Container') container = null }, 100)可以结贴了 2018-08-01 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: destroy(true) 2018-07-28 0...
来源: Laya_社区 发布时间: 20180728