大约有 196 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0049 秒)
Laya3.0_api(79) Laya_社区(64) Laya2.0_文档(17) Laya2.0_api(15) laya_api(14) Laya_示例(4) Laya3.0_文档(3)
... { let floor1:Laya.Sprite3D = this.scene.getChildByName("floor"+floor+i) as Laya.Sprite3D; if(floor1) { floor1.destroy(); c...
来源: Laya_社区 发布时间: 20180514
...lone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName ...
来源: Laya3.0_api 发布时间: 20231115
...lone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName ...
来源: Laya3.0_api 发布时间: 20231102
... layanative2 打包android平台 报错 btCollisionObject undefined 使用getChildByName()无法得到子节点对象 路径是对的,但老是,调试控制台提示:错误,图片是IDE自带的,也不显示 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界...
来源: Laya_社区 发布时间: 20200302
...某个名字的子节点,通常会调用如下方法来获取子节点 getChildByName("xxx") /** * 根据子节点的名字,获取子节点对象。 * @param name 子节点的名字。 * @return 节点对象。 */ getChildByName(name: string): Node { for (let child of this._children) { if (child...
来源: Laya3.0_文档 发布时间: 20240624
...添加到舞台后 onEnable(): void { let a = this.owner.getChildByName("Sprite3D") as Laya.Sprite3D; console.log(a,typeof(a)) let aa = a.addComponent(Laya.Rigidbody3D); } 报错 TypeError: Cannot read properties of undefined (reading '__cl...
来源: Laya_社区 发布时间: 20240102
...{ var str: string = "path" + i; this.path.push(((<MeshSprite3D>scene.getChildByName('Scenes').getChildByName('Area').getChildByName(str))).transform.localPosition); } } 四、角色移动 角色移动,实际上就是在间隔很短的时间内,改变角色的位置。在我们的示例中...
来源: Laya3.0_文档 发布时间: 20230303
...lone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeAllLayers removeChild removeChildAt re...
来源: Laya3.0_api 发布时间: 20231115
... var info = cell.dataSource; var img_icon = cell.getChildByName("img_icon");//图标 var lab_name = cell.getChildByName("lab_name");//名称 } itemHandler一般不用。 2017-08-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠...
来源: Laya_社区 发布时间: 20170808
...lone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName ...
来源: Laya3.0_api 发布时间: 20231115