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

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

21. 写了个边缘光的自定义shader,有很多问题,帮忙看一下 [ 67%]

...g.lm"))); var skinAni4 = mesh4.addComponent(Laya.SkinAnimations); skinAni4.templet = Laya.AnimationTemplet.load("xiong/xiong2.lsani"); skinAni4.player.play(); mesh4.transform.localPosition = new Laya.Vector3(-2, 0,0); mesh4.transform.localScale = new Laya.Vector3(30,30,30); var mesh =scene.addChild(...

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

22. 如何清理所有的子无素 [ 65%]

...清理,或者回调方法 IDE的清理功能怎么不好用 骨骼动画templet对象如何清理已加载的资源实现对象重新使用? Loader.basePath貌似没有用了,是不是应该清理掉 建议节点destroy后将节点触发的定时器的同时清理干净。 laya不能设置...

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

23. 龙骨动画-拖拽-点击区域HitArea设置问题 [ 65%]

...同来自: 你的核心代码如下:function parseComplete(){ skeleton = templet.buildArmature(1); skeleton.pos(400,600); skeleton.on(Laya.Event.MOUSE_DOWN, this, dragFunc); Laya.stage.addChild(skeleton); skeleton.play(0,true); rectangle = skeleton.getBounds(); var hitArea = new Laya.HitArea(); va...

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

24. AnimationTemplet如何添加多个动画 [ 63%]

AnimationTemplet如何添加多个动画 Unity中n个动作导出来后,有n个.lsani文件,加载到游戏后就有n个AnimationTemplet,每改一个动作就要SkinAnimation.templet一次,如果教频繁有点耗时,能不能把n个AnimationTemplet放到同一个AnimationTemplet里面呢...

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

25. H5页面的骨骼动画不能显示完整,兼容性问题? [ 62%]

...: void { var aniPath = this.ANIS[this.fishIndex]; this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); this.mFactory.loadAni(aniPath); } // 动画解析完成,添加到舞台,并且开始swim parseComplete(): void { this.mArmature = this.mFactory.bui...

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

26. spine适配版运行期间没有spine相关类 [ 56%]

...ya.spine.js,spine-core-3.7.js,在项目代码中可以成功引入SpineTemplet,SpineVersion等相关类,但是运行期间却找不到相关类。demo里在GameUI.ts的onEnble里加入了一句:let templet=new Laya.SpineTemplet(Laya.SpineVersion.v3_7);编译正常,但是运行报错,找...

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

27. 为什么说没有​ playByFrame方法 [ 55%]

...yFrame方法 var anifish = fish.addComponent(Laya.SkinAnimations); anifish.templet = Laya.AnimationTemplet.load("fish/denglongyu/denglongyu.lsani"); anifish.player.playByFrame(0,1.0,2147483647,0,30,30);//游动 // anifish.player.playByFrame(0,1.0,2147483647,40,72,30);//交互 这个就生效,但...

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

28. playByFrame动画监听问题,真不会了。就一个小问题。监听不到动画结束。。。 [ 52%]

...。。。 var anifish2 = fish2.addComponent(Laya.SkinAnimations); anifish2.templet = Laya.AnimationTemplet.load("fish/haitun/haitun.lsani"); anifish2.player.playByFrame(0,1.0,2147483647,0,60,30);//游动 // anifish2.player.playByFrame(0,1.0,2147483647,60,145,30);//交互 //这上面播放没问题...

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

29. laya.ani.bone.Skeleton_API3.0 [ 47%]

...nu Globals "laya/ani/bone/Skeleton" Skeleton Class Skeleton 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Hierarchy Sprite Skeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx...

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

30. laya.spine.SpineSkeleton_API3.0 [ 34%]

.../spine/SpineSkeleton" SpineSkeleton Class SpineSkeleton spine动画由SpineTemplet,SpineSkeletonRender,SpineSkeleton三部分组成。 Hierarchy Sprite SpineSkeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag...

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