大约有 691 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
...链接 提交 1 个回复 Laya_Aaron 赞同来自: destroy(true) 把子节点也销毁才会清除,不然只是清除本对象 2018-08-31 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 琉 相关问题 spr...
来源: Laya_社区 发布时间: 20180830
...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defi...
来源: Laya3.0_api 发布时间: 20231115
Laya.Sprite3D.instantiate克隆出来的对象中的子节点的坐标发生啦变化,这个坑怎么填 2018-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: demo 传上来看看 2...
来源: Laya_社区 发布时间: 20180809
...毁 Laya.timer.once(3000,this,function () { //销毁了使用该网格的节点 layaMonkey.destroy(); //对使用资源进行销毁,注意调用资源destroy的话,就算加锁也是会被销毁的。 Laya.Resource.destroyUnusedResources(); }); })); ``` (图4) 调用自动释放前 !...
来源: Laya2.0_文档 发布时间: 20210715
使用getChildByName()无法得到子节点对象 page2._list.renderHandler = new Handler(this, onRender); function onRender(cell,index){ //如果索引不再可索引范围,则终止该函数 if(index > json.length)retu...
来源: Laya_社区 发布时间: 20180717
...创建和销毁spine吗?您在销毁的过程中没有销毁场景中的节点 2025-08-20 0 0 分享 微博 QZONE 微信 讯 赞同来自: 有销毁的。同时我还用了3.1.4、3.3.0版本测试,这两个版本不会有这个问题,代码是相同的 2025-08-20 0 0 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20250820
... NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 ...
来源: Laya2.0_api 发布时间: 20190513
...e: string = "" Inherited from Node.name Defined in laya/display/Node.ts:59 节点名称。 Optional tag tag: string Inherited from Node.tag Defined in laya/display/Node.ts:62 节点标签 Static WORLDINVERTFRONT WORLDINVERTFRONT: number Inherited from RenderableSprite3D.WORLDINVERTFRONT Defined in l...
来源: Laya3.0_api 发布时间: 20231115
...否为单实例组件。 Component owner : Node [只读]获取所属Node节点。 Component speed : Number 获取动画的播放速度,1.0为正常播放速度。 AnimatorPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Animator() 创建一个 Anima...
来源: Laya2.0_api 发布时间: 20190513
...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defi...
来源: Laya3.0_api 发布时间: 20231115