大约有 338 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
Laya_社区(102) Laya3.0_api(79) Laya2.0_api(73) laya_api(68) Laya3.0_文档(7) Laya2.0_文档(6) Laya_示例(2) Laya2.0_示例(1)
...间的所有子对象。 Node removeInputChild(node:Node):voidNode removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node runCallLater(method:Function):void 如果有需要延迟调...
来源: Laya2.0_api 发布时间: 20190513
...前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
...le || (role.isBullet && role.y < -20)){ // 从舞台移除 role.removeSelf(); // 回收前重置属性信息 role.isBullet = false; role.visible = true; // 回收到对象池 Laya.Pool.recover("role",role); } } // 处理发射子弹逻辑 if(role.shootType > 0) { // 获取当前浏览...
来源: Laya_社区 发布时间: 20170525
...引区间的所有子对象。 Node removeInputChild(node:Node):voidNode removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node runCallLater(method:Function):void 如果有需要延迟调用...
来源: Laya2.0_api 发布时间: 20190513
...emoveChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf render repaint replaceChild runCallLater scale setChildIndex setSelfBounds set_height set_scaleX set_scaleY set_transform set_visible set_width size skew startDrag stopDrag timerLoop timerOnce toParentPoint updateZ...
来源: Laya3.0_api 发布时间: 20231102
...emoveChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf render repaint replaceChild runCallLater scale setChildIndex setSelfBounds set_height set_scaleX set_scaleY set_transform set_visible set_width size skew startDrag stopDrag timerLoop timerOnce toParentPoint updateZ...
来源: Laya3.0_api 发布时间: 20231102
...引区间的所有子对象。 Node removeInputChild(node:Node):voidNode removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node runCallLater(method:Function):void 如果有需要延迟调用...
来源: Laya2.0_api 发布时间: 20190513
... 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
...le || (role.isBullet && role.y < -20)){ // 从舞台移除 role.removeSelf(); // 回收前重置属性信息 role.isBullet = false; role.visible = true; // 回收到对象池 Laya.Pool.recover("role",role); } } // 处理发射子弹逻辑 if(role.shootType > 0) { // 获取当前浏览...
来源: Laya_社区 发布时间: 20170525
...引区间的所有子对象。 Node removeInputChild(node:Node):voidNode removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node runCallLater(method:Function):void 如果有需要延迟调用...
来源: Laya2.0_api 发布时间: 20190513