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

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

31. laya.d3.animation.AnimationClip_API3.0 [ 72%]

...会忽略lock=true的资源。 Returns void Static load load(url: string, complete: Handler): void Defined in laya/d3/animation/AnimationClip.ts:61 加载动画片段。 Parameters url: string 动画片段地址。 complete: Handler 完成回掉。load Returns void Globals "laya/d3/animation/Animati...

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

32. 如何检测Animation动画播放完毕后去执行方法? [ 72%]

...关的链接 提交 1 个回复 qian 赞同来自: a372853273 ani.on(Event.COMPLETE,this,onComplete); 2018-03-20 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 a372853273 相关问题 sprite旋转以后,但是原来碰撞检测rect没...

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

33. l龙骨动画内存上升 [ 70%]

...;             tem.loadAni(url);             tem.on(Event.COMPLETE, this, function():void {                 longgu = tem.buildArmature(0);                 longgu.pos(dragronX, dragronY);                 parent.addChild(longgu);            ...

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

34. .ani文件能预加载吗? [ 69%]

...adAnimation("ani/TX001.ani"); //动画播放完的事件 ani.on(Laya.Event.COMPLETE,this,(ani:Animation)=>{ ani.removeSelf(); ani.destroy(); },[ani]); ani.play(0,false); 2018-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

35. 代码怎么判断ui加载完成 [ 69%]

...显示到舞台上呢 mainMC.on(Event.LOADED,this,stopMC); mainMC.on(Event.COMPLETE,this,stopMC);这俩货监听都不好用   附件 : --> 2016-12-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞...

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

36. 分享:销毁龙骨动画! [ 69%]

...mAniPath = "Dragon/Dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.loadAni(mAniPath); } public function destroy():void { mArmature.stop();//停止龙骨动画播放 removeEvent();//移除事件 mArmature.removeSelf();//从显示列表移除龙骨动...

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

37. 播放骨骼动画 [ 68%]

...ya.Skeleton; this.factory = new Laya.Templet(); this.factory.on(Laya.Event.COMPLETE, this, this.parseComplete); this.factory.on(Laya.Event.ERROR, this, this.onError); this.factory.loadAni("sp/aa.sk"); this.avatar = this.factory.buildArmature(0); this.avatar.play(0,true); 2017-07-18 添加评论 免...

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

38. 图集动画结束回调有延迟 [ 68%]

...s.ded.on(Laya.Event.LABEL, this, this.onHitOver);  this.ded.on(Laya.Event.COMPLETE, this, this.onHitOver);  两种方法都会有延迟,不能100%执行 2018-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回...

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

39. 动画监听回调怎么会无限成倍调用 [ 67%]

动画监听回调怎么会无限成倍调用 this.star.on(Laya.Event.COMPLETE, this, function () { 解决这个问题·两天了·我差点怀疑我的智商,写了好几遍正确的递归思路。结果就是成倍调用, 最后发现是 我在递归方法里面监听动画播放完毕,第...

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

40. 我想在动画播放结束后加一个事件,怎么加? [ 66%]

...复 176*****233 赞同来自: geo 监听_ani的完成事件 _ani.on(EVENT.COMPLETE, this, function(){}); 2018-04-28 1 0 分享 微博 QZONE 微信 fool_tiger 赞同来自: 谢谢! 2018-05-02 0 0 分享 微博 QZONE 微信 AlexNine 赞同来自: 可以直接在play后面加个回调 function playAn...

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