大约有 2,657 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0150 秒)
...码报错的问题,将有问题的代码参考这样修改 var ani:Laya.Animator=(role3D.getChildAt(0) as Laya.Sprite3D).getComponentByType(Laya.Animator) as Laya.Animator; 另外,恳请那些大V和官方工作人员认真对待用户们提出的问题好吗。什么引擎版本工具版本...
来源: Laya_社区 发布时间: 20170929
....cached = true; //根据不同的动画 来创建动画模板 laya.display.Animation.createFrames(['player/chara_01.png','player/chara_02.png','player/chara_03.png','player/chara_04.png'], Player.RUN); laya.display.Animation.createFrames(['player/chara_05.png','player/chara_06.png','player/chara_07....
来源: Laya_社区 发布时间: 20160801
...内容相关的链接 提交 2 个回复 cuixueying 赞同来自: var ani:Animation=new Animation(); ani.loadAnimation("loadingAni.ani"); ani.play(); Laya.stage.addChild(ani); 代码如上,直接shiy使用loadAnimation加载你的ani动画即可 2017-03-17 0 1 分享 微博 QZONE 微信 lcp_li ...
来源: Laya_社区 发布时间: 20170317
...a.d3.js:21857 Uncaught TypeError: Cannot read property 'length' of null at Animator.__proto._getAvatarOwnersByClip (laya.d3.js:21857) at Animator.__proto._getAvatarOwnersByClipAsync (laya.d3.js:21944) at Animator.__proto.addClip (laya.d3.js:22458) at Sprite3D.__proto._parseCustomComponent (laya.d3.j...
来源: Laya_社区 发布时间: 20180103
[LayaAir3]AnimatorState上添加的脚本,打包后会加载不到 打包出来的资源格式会变成res://../xxxxxx,造成getClass的时候找不到对应的类。 顺便吐槽一下Animator2D现在没有getControllerLayer函数,不能像Animator一样通过getControllerLayer获取Anima...
来源: Laya_社区 发布时间: 20241112
... 动画混合无效(版本2.6) 骨骼动画播放完后的回调时间 Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? Animator2D该如何判断动画是否已经播放完成? spine在微信小游戏中切换动画无法显示 关于apk打包动画卡的...
来源: Laya_社区 发布时间: 20240306
...ya.stage.addChild(tempItem); tempItem.x=i*100; tempItem.y=200; tempItem.setAnimated(true); arr.push(tempItem); // this.playAni(tempItem,new Point(0,-20),0); } } 然后这是itemUI类里的方法 private var animate:Boolean; public function setAnimated(b:Boolean):void { animate=b if(animate) { sta...
来源: Laya_社区 发布时间: 20180524
...: 与内容相关的链接 提交 4 个回复 Laya_Aaron 赞同来自: 为animation 添加加鼠标触发区域即可接收鼠标点击事件 参考以往问题https://ask.layabox.com/question/3650 2017-12-11 0 0 分享 微博 QZONE 微信 ayiui4566 赞同来自: 我设置size(78,78)做半边...
来源: Laya_社区 发布时间: 20171211
...后,重复使用的内存疑问 想确认一件事,就是当我使用animation.loadatlas,或者animation.play之类的函数时,参数中是有一个 cacheName,允许将下载解析过的动画进行缓存,以便重复使用时解约CPU开销的。 那么对于这个缓存,我想确认...
来源: Laya_社区 发布时间: 20180117
...d 加载资源。 Laya.loader.load(AniConfPath, Handler.create(this, createAnimation), null, Loader.ATLAS); 这里的load只有三个参数,而事实上用到4个,不清楚。。。 还有ani.index = 1;我改成0,-1,2,可是在经过play后面自动变成1,还有经过Laya.stage....
来源: Laya_社区 发布时间: 20160712