大约有 93 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0059 秒)
...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
...ete)); protected function onFloatComplete(callBack:Function):void { this.removeSelf(); } 我用这个缓动来做飘字效果,完成回调的时候,把飘字对象在场景上移除,结果执行次数很多之后,发现场景上有许多飘字并没有被移除,有没有可能是缓动...
来源: Laya_社区 发布时间: 20170426
... 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
...引区间的所有子对象。 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
...引区间的所有子对象。 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
...引区间的所有子对象。 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
...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
...引区间的所有子对象。 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
...引区间的所有子对象。 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
...int = 0x7fffffff):Node 删除指定索引区间的所有子对象。 Node removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node render(context:RenderContext, x:Number, y:Number):void 更新、呈现显示对象。由系统调用。 Sprite repaint():voidcacheAs...
来源: laya_api 发布时间: 20170929