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

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

111. laya.d3.core.trail.TrailSprite3D_API3.0 [ 50%]

...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

112. laya.d3.core.SimpleSkinnedMeshSprite3D_API3.0 [ 49%]

...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

113. LayaAir IDE 2.2.0beta4 动画挂点(骨骼挂点)无效 [ 49%]

...n false; }  public static unLink2Node(Sprite3D: Laya.Sprite3D) { Sprite3D.removeSelf(); }   2019-09-19 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 133*****831 相关问题 微信关系链:LayaAir引擎针对微信小游戏好友...

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

114. 组件脚本的内置方法 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

...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

115. 请问UI之间的场景切换要怎么写 [ 49%]

...); 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

116. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 48%]

...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

117. 节点管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 48%]

...注意子节点将会被移除,但不会销毁 从父容器删除自己removeSelf() 在不需要知道父节点的情况下,调用此方法可直接从父节点删除自己,此方法使用频率比较多 根据名字删除对应子节点removeChildByName(name: string) 当我们知道某个节...

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

118. Spine 间隔一段时间卡顿5000毫秒左右,期间GPU占用极高, Demo已上传 [ 48%]

...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

119. 3D物体检测到碰撞后,被碰撞物被移除的时候过30秒再次出现?并添加到舞台 [ 47%]

...; 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

120. 如何完全删除精灵 并回收内存 [ 46%]

...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