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

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

131. laya.display.Node [ 40%]

...间的所有子对象。 Node  removeInputChild(node:Node):voidNode  removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node  replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node  runCallLater(method:Function):void 如果有需要延迟调...

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

132. 【简单跑酷--JS版】---Lv.3 添加地板 [ 38%]

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

133. 为什么会出现报错 ani not found:ufo1_down [ 35%]

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

134. laya.d3.core.light.DirectionLight [ 35%]

...引区间的所有子对象。 Node removeInputChild(node:Node):voidNode removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node runCallLater(method:Function):void 如果有需要延迟调用...

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

135. laya.html.dom.HTMLIframeElement_API3.0 [ 34%]

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

136. laya.html.dom.HTMLDivElement_API3.0 [ 34%]

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

137. laya.d3.core.light.PointLight [ 34%]

...引区间的所有子对象。 Node removeInputChild(node:Node):voidNode removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node runCallLater(method:Function):void 如果有需要延迟调用...

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

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

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

139. 为什么会出现报错 ani not found:ufo1_down [ 34%]

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

140. laya.d3.core.light.SpotLight [ 34%]

...引区间的所有子对象。 Node removeInputChild(node:Node):voidNode removeSelf():Node 从父容器删除自己,如已经被删除不会抛出异常。 Node replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node runCallLater(method:Function):void 如果有需要延迟调用...

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