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

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

1. 获取lh动画控制失败【已解决】 [ 100%]

... //方法一:直接异步加载             var layaMonkey:Sprite3D = scene.addChild(Sprite3D.load(url+"LayaScene_sharedunity/sharedunity.lh")) as Sprite3D;                          var zombieAnimator:Animator =layaMonkey.getChildAt(0).getComponentByType(Animat...

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

2. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 89%]

...ot;) as Laya.Camera; camera.addComponent(CameraMoveScript); var tiger:Laya.Sprite3D = this._scene.getChildByName("tiger_idle") as Laya.Sprite3D; console.log(tiger); var animator:Laya.Animator = tiger.getComponentByIndex(0) as Laya.Animator; animator.play("idle"); var cat:Laya.Spr...

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

3. 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. [ 89%]

...码参考这样修改 var ani:Laya.Animator=(role3D.getChildAt(0) as Laya.Sprite3D).getComponentByType(Laya.Animator) as Laya.Animator;  另外,恳请那些大V和官方工作人员认真对待用户们提出的问题好吗。什么引擎版本工具版本,还有资源。这和这个问题有...

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

4. 使用linkSprite3DToAvatarNode绑定sprite到骨骼上,角色运动时绑定的mesh会经常抖动 [ 78%]

使用linkSprite3DToAvatarNode绑定sprite到骨骼上,角色运动时绑定的mesh会经常抖动 如题,使用Animator.linkSprite3DToAvatarNode(boneName, sprite)来把武器绑定到手的骨骼上,当角色在原地不动时,播放循环动画没什么问题,但当角色动起来以后...

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

5. frame animation 怎么使用customRender [ 77%]

...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体?...

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

6. 如何使用animator把动画播放到指定帧然后立刻暂停? [ 77%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 动画混合无效(版本2.6) 求...

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

7. Bake Animation 无法使用 [ 76%]

...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf...

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

8. 使用 new Animation 报错 e.indexOf [ 76%]

...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'...

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

9. LayaAir IDE中Animation组件的使用 [ 75%]

...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask?...

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

10. 发现静态物件使用Laya.Sprite3D.instantiate方法复制出来的渲染批处理反复增加不会合批,这个怎么办? [ 75%]

发现静态物件使用Laya.Sprite3D.instantiate方法复制出来的渲染批处理反复增加不会合批,这个怎么办? 发现静态物件使用Laya.Sprite3D.instantiate方法复制出来的渲染批处理反复增加不会合批,这个怎么办?复制出来的静态物件都会新...

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