大约有 550 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0046 秒)
Laya_社区(313) Laya3.0_api(80) Laya2.0_api(74) laya_api(68) Laya2.0_示例(6) Laya2.0_文档(3) Laya3.0_文档(3) Laya_示例(3)
...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new SimpleSkinnedMeshSprite3D(mesh?: Mesh, name?: str...
来源: Laya3.0_api 发布时间: 20231115
...原有的子节点将会被移除,但不会销毁 移除 删除子节点removeChild(node: Node) 删除子节点的时调用此方法,注意子节点将会被移除,但不会销毁 从父容器删除自己removeSelf() 在不需要知道父节点的情况下,调用此方法可直接从父节...
来源: Laya3.0_文档 发布时间: 20230303
...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeLine removeSelf replaceChild runCallLater setChildIndex setLine timerLoop timerOnce instantiate load Constructors constructor new PixelLineSprite3D(maxCount?: n...
来源: Laya3.0_api 发布时间: 20231115
...canvas画布销毁;显示对象的销毁就是直接调用引擎提供的removeChild方法即可把对象从显示列表移除销毁掉,而对于canvas画布的销毁则就是直接删除当前canvas在的节点。不过第二点一般应该不会,不明白你什么情况下会有需要销毁c...
来源: Laya_社区 发布时间: 20170315
...分的颜色问题 求指点3d射线碰撞和UI点击穿透的问题 关于removechild、destory、clear的问题 IDE创建的UI 层级问题 关于Dialog遮罩层移除解决问题的说明 问题状态 最新活动: 2020-03-30 10:08 浏览: 3475 关注: 3 人 aa111 • 2020-03-26 19:08 demo已上...
来源: Laya_社区 发布时间: 20200326
...ge.addChild( ball ); } } public removeball( ball:Laya.Sprite ){ Laya.stage.removeChild(ball); // console.log("rmove ball") } public getObj():Laya.Sprite { for( let i:number = 0 ; i < this.balls.length;i++ ){ if( !this.balls[i].parent ){ return this.balls[i]; } } let ball = new Laya.Sprite(); ball...
来源: Laya_社区 发布时间: 20180226
... = true; this._destroyAllComponent(); this._parent && this._parent.removeChild(this); //销毁子节点 if (this._children) { if (destroyChild) this.destroyChildren(); else this.removeChildren(); } this.onDestroy(); this._children = null; //移除所有事件监听 this.offAll(); //...
来源: Laya_社区 发布时间: 20220224
... this.flag=true; }else{ this.sp.removeChild(this.bt); this.bt.disp(); this.bt=null; this.flag=false; this.oldurl="" } } 这里代码不好认,...
来源: Laya_社区 发布时间: 20181201
...个改videoElement 长宽第一次进页面是没事的 就离开 (stage.removeChild) 后再改浏览器长宽就不行了。 123黄 • 2018-10-27 11:30 问题解决了 就这一句行了 Laya.stage.off(Laya.Event.RESIZE, this, Laya.Utils.fitDOMElementInArea); 之前这句一直没跑
来源: Laya_社区 发布时间: 20181020
...子,以及是否能走 5.所谓的页面跳转,就是addchild(scene1),removeChild(scene1)的组合 2018-04-26 2 2 分享 微博 QZONE 微信 rabbit 赞同来自: 楼上的是大神~ 刚入门,别做联网的,登录可以暂时放弃,这需要登录要和服务器配合。 20...
来源: Laya_社区 发布时间: 20180426