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

大约有 550 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0046 秒)

321. laya.d3.core.SimpleSkinnedMeshSprite3D_API3.0 [ 50%]

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

322. 节点管理 · LayaAir3.0文档 · LAYABOX [ 49%]

...原有的子节点将会被移除,但不会销毁 移除 删除子节点removeChild(node: Node) 删除子节点的时调用此方法,注意子节点将会被移除,但不会销毁 从父容器删除自己removeSelf() 在不需要知道父节点的情况下,调用此方法可直接从父节...

来源: Laya3.0_文档 发布时间: 20230303

323. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 49%]

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

324. 急急 游戏销毁问题 [ 49%]

...canvas画布销毁;显示对象的销毁就是直接调用引擎提供的removeChild方法即可把对象从显示列表移除销毁掉,而对于canvas画布的销毁则就是直接删除当前canvas在的节点。不过第二点一般应该不会,不明白你什么情况下会有需要销毁c...

来源: Laya_社区 发布时间: 20170315

325. 关于zOrder层级问题 [ 49%]

...分的颜色问题 求指点3d射线碰撞和UI点击穿透的问题 关于removechild、destory、clear的问题 IDE创建的UI 层级问题 关于Dialog遮罩层移除解决问题的说明 问题状态 最新活动: 2020-03-30 10:08 浏览: 3475 关注: 3 人 aa111 • 2020-03-26 19:08 demo已上...

来源: Laya_社区 发布时间: 20200326

326. 模拟石头下落过程不明抖动 [ 48%]

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

327. Node.ts 节点销毁之后为什么要注释掉 timer 的清理操作。 [ 47%]

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

328. 2.0下资源加载和销毁内存问题 [ 47%]

...  this.flag=true;         }else{             this.sp.removeChild(this.bt);             this.bt.disp();             this.bt=null;             this.flag=false;             this.oldurl=""         } } 这里代码不好认,...

来源: Laya_社区 发布时间: 20181201

329. [Error] TypeError: null is not an object (evaluating 'this._style._tf') [ 47%]

...个改videoElement 长宽第一次进页面是没事的 就离开 (stage.removeChild) 后再改浏览器长宽就不行了。 123黄 • 2018-10-27 11:30 问题解决了 就这一句行了 Laya.stage.off(Laya.Event.RESIZE, this, Laya.Utils.fitDOMElementInArea); 之前这句一直没跑

来源: Laya_社区 发布时间: 20181020

330. 新手开发游戏,求思路 [ 47%]

...子,以及是否能走 5.所谓的页面跳转,就是addchild(scene1),removeChild(scene1)的组合   2018-04-26 2 2 分享 微博 QZONE 微信 rabbit 赞同来自: 楼上的是大神~   刚入门,别做联网的,登录可以暂时放弃,这需要登录要和服务器配合。       20...

来源: Laya_社区 发布时间: 20180426