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

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

41. destroy 报错 [ 69%]

... {                 let floor1:Laya.Sprite3D = this.scene.getChildByName("floor"+floor+i) as Laya.Sprite3D;                 if(floor1)                 {                     floor1.destroy();                     c...

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

42. laya.d3.core.light.LightSprite_API3.0 [ 68%]

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

43. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 68%]

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

44. 添加节点时报abort 41错误 [ 68%]

... layanative2 打包android平台 报错 btCollisionObject undefined 使用getChildByName()无法得到子节点对象 路径是对,但老是,调试控制台提示:错误,图片是IDE自带,也不显示 怎么讲layaAir里显示对象添加到matter.js里物理引擎世界...

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

45. 使用3D精灵 · LayaAir3.0文档 · LAYABOX [ 68%]

...某个名字子节点,通常会调用如下方法来获取子节点 getChildByName("xxx") /** * 根据子节点名字,获取子节点对象。 * @param name 子节点名字。 * @return 节点对象。 */ getChildByName(name: string): Node { for (let child of this._children) { if (child...

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

46. [LayaAir3]addComponent(Laya.Rigidbody3D); 报错 [ 68%]

...添加到舞台后     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

47. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 68%]

...{ var str: string = "path" + i; this.path.push(((<MeshSprite3D>scene.getChildByName('Scenes').getChildByName('Area').getChildByName(str))).transform.localPosition); } } 四、角色移动 角色移动,实际上就是在间隔很短时间内,改变角色位置。在我们示例中...

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

48. laya.d3.core.BaseCamera_API3.0 [ 67%]

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

49. JS中List容器里renderHandler和itemHandler渲染器如何使用 [ 67%]

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

50. laya.d3.core.RenderableSprite3D_API3.0 [ 67%]

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