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

大约有 346 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0044 秒)

131. laya.d3.physicscannon.CannonPhysicsCollider_API3.0 [ 52%]

...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...

来源: Laya3.0_api 发布时间: 20231102

132. laya.physics.joint.MotorJoint_API3.0 [ 52%]

...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...

来源: Laya3.0_api 发布时间: 20231115

133. laya.physics.PhysicsDebugDraw_API3.0 [ 52%]

...rameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener hitTestPoin...

来源: Laya3.0_api 发布时间: 20231115

134. 角色身上挂了Animation,有一个动作,导出后要怎么播放? [ 52%]

...啊 liugs • 2017-11-30 17:25 @wudi199553:这个lh身上没有Animator,getComponent不到啊 liugs • 2017-11-30 17:27 @wudi199553:角色身上挂的是Animation,不是Animator。导出了之后lh文件里就没有动画组件了 wudi199553 • 2017-11-30 17:42 你可以把旧版动画改成...

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

135. laya.physics.joint.DistanceJoint_API3.0 [ 52%]

...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...

来源: Laya3.0_api 发布时间: 20231115

136. unity导出的3D动画模型,导入 laya环境报错: node._setParent is not a function [ 52%]

.../加载到场景 scene.addChild(role3D);  //此处报错 var ani = role3D.getComponent(Laya.Animator) as Laya.Animator; //播放攻击状态 ani.play(); chrome 调试:  addChild(node) {             if (!node || this.destroyed || node === this)                 return node;       ...

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

137. [LayaAir3]如何在3D场景添加文字呢 [ 52%]

... this.scene3D.getChildByName("m_Sprite3D"); let ui3d: Laya.UI3D = sprite3d.getComponent(Laya.UI3D); let ui3d_root: Laya.Sprite = ui3d.sprite; console.log("ui3d_root", ui3d_root); let txtField: Laya.GTextField = ui3d_root.getChildByName("txt"); txtField.text = "New String"; } } 2025-10-21 0 1 分享 ...

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

138. laya.map.TileAniSprite_API3.0 [ 52%]

...rameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener hide hitTes...

来源: Laya3.0_api 发布时间: 20231115

139. 如何通过代码控制prefab上面的时间轴动画animation? [ 51%]

... callback.run(); }); } ... // 外部访问 ... let puzzleSoldier = soldier.getComponent(PuzzleSoldier) as PuzzleSoldier; puzzleSoldier.attack(); ... 2019-02-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 138*...

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

140. laya.physics.joint.RevoluteJoint_API3.0 [ 51%]

...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...

来源: Laya3.0_api 发布时间: 20231115