大约有 338 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)
Laya_社区(102) Laya3.0_api(79) Laya2.0_api(73) laya_api(68) Laya3.0_文档(7) Laya2.0_文档(6) Laya_示例(2) Laya2.0_示例(1)
...ment(tipElmt); // Laya.Browser.document.body.removeChild(tipElmt); viewIns.removeSelf(); Laya.stage.addChild(new GameWorld()); } videoElmt.onclick = goGameWorld; tipElmt.onclick = goGameWorld; } } } 2018-08-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20180802
...his.getView(clazz); let index: number = this.getViewIndex(clazz); if(v){ v.removeSelf(); this.uiList.splice(index,1); } }[/i] [i] private getViewIndex(clazz: any):number{ for(let i:number =0 ; i<this.uiList.length ; i++){ let uiData = this.uiList[i]; if(uiData.clazz == clazz){ return i; } } retu...
来源: Laya_社区 发布时间: 20190222
...写一下呗 比如world->body->trail A点移除的时候 trail.removeSelf(); trail.transform.position = body.transform.position.clone(); world.addChild(trail); B点新加的时候重新创建一个新的,不要用这个旧的了 2019-01-11 0 0 分享 微博 QZONE 微信 gplzh 赞同...
来源: Laya_社区 发布时间: 20181217
....role); this.aniSprte3D2.removeChild(this.role); //移除龙2 this.dragon2.removeSelf(); //将role添加到场景上,同时播放hello动画 this.scene.addChild(this.role); this.animator.play("hello"); ``` (图4)
来源: Laya2.0_文档 发布时间: 20210715
....role); this.aniSprte3D2.removeChild(this.role); //移除龙2 this.dragon2.removeSelf(); //将role添加到场景上,同时播放hello动画 this.scene.addChild(this.role); this.animator.play("hello"); ``` (图4)
来源: Laya2.0_文档 发布时间: 20210714
...e3DToAvatarNode(role); aniSprte3D2.removeChild(role); //移除龙2 dragon2.removeSelf(); //将role添加到场景上,同时播放hello动画 scene.addChild(role); animator.play("hello"); ``` (图4)
来源: Laya2.0_文档 发布时间: 20210714
... tarItem = null; this.camera.removeSelf(); this.camera.destroy(true); this.camera = null; this.scene.destroy(); Laya.Scene.gc(); })); 以...
来源: Laya_社区 发布时间: 20191102
...ByName removeChildren removeCommandBuffer removeCommandBuffers removeLayer removeSelf render replaceChild resetProjectionMatrix runCallLater setChildIndex timerLoop timerOnce viewportPointToRay worldToNormalizedViewportPoint worldToViewportPoint drawRenderTextureByScene drawTextureCubeByScene drawTe...
来源: Laya3.0_api 发布时间: 20231115
...ByName removeChildren removeCommandBuffer removeCommandBuffers removeLayer removeSelf render replaceChild resetProjectionMatrix runCallLater setChildIndex timerLoop timerOnce viewportPointToRay worldToNormalizedViewportPoint worldToViewportPoint drawRenderTextureByScene drawTextureCubeByScene drawTe...
来源: Laya3.0_api 发布时间: 20231115
...,也可以对节点做一些基础操作,比如删除掉自己方法 removeSelf() /** * 从父容器删除自己,如已经被删除不会抛出异常。 * @return 当前节点( Node )对象。 */ removeSelf(): Node { this._parent && this._parent.removeChild(this); return this; } ...
来源: Laya3.0_文档 发布时间: 20251010