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

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

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

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

2. 使用Tween.to完成回调异常! [ 87%]

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

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

3. 实体组件系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 77%]

... any, contact: any): void { //如果被碰到,则移除子弹 this.owner.removeSelf(); } onUpdate(): void { //如果子弹超出屏幕,则移除子弹 if ((this.owner as Laya.Sprite).y < -10) { this.owner.removeSelf(); } } onDisable(): void { //子弹被移除时,回收子弹到对象池,...

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

4. laya.display.Scene [ 69%]

...引区间的所有子对象。 Node removeInputChild(node:Node):voidNode removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node render(ctx:Context, x:Number, y:Number):void 更新、呈现显示对象。由系统调用。 Sprite repaint(type:int):voidcacheAs后...

来源: Laya2.0_api 发布时间: 20190513

5. laya.ui.View [ 63%]

...引区间的所有子对象。 Node removeInputChild(node:Node):voidNode removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node render(ctx:Context, x:Number, y:Number):void 更新、呈现显示对象。由系统调用。 Sprite repaint(type:int):voidcacheAs后...

来源: Laya2.0_api 发布时间: 20190513

6. laya.ui.MoreGame [ 60%]

...引区间的所有子对象。 Node removeInputChild(node:Node):voidNode removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node render(ctx:Context, x:Number, y:Number):void 更新、呈现显示对象。由系统调用。 Sprite repaint(type:int):voidcacheAs后...

来源: Laya2.0_api 发布时间: 20190513

7. laya.display.Scene_API3.0 [ 55%]

...vot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_height set_scaleX set_scaleY set_transform set_visible set_width size skew startDrag stopDrag timer...

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

8. laya.ui.Dialog [ 54%]

...引区间的所有子对象。 Node removeInputChild(node:Node):voidNode removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node render(ctx:Context, x:Number, y:Number):void 更新、呈现显示对象。由系统调用。 Sprite repaint(type:int):voidcacheAs后...

来源: Laya2.0_api 发布时间: 20190513

9. laya.display.Text [ 52%]

...引区间的所有子对象。 Node removeInputChild(node:Node):voidNode removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node render(ctx:Context, x:Number, y:Number):void 更新、呈现显示对象。由系统调用。 Sprite repaint(type:int):voidcacheAs后...

来源: Laya2.0_api 发布时间: 20190513

10. laya.ui.ColorPicker [ 51%]

...int = 0x7fffffff):Node 删除指定索引区间的所有子对象。 Node removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node render(context:RenderContext, x:Number, y:Number):void 更新、呈现显示对象。由系统调用。 Sprite repaint():voidcacheAs...

来源: laya_api 发布时间: 20170929