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

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

41. 动画播放完后,怎么知道?Animation.play() [ 85%]

...接 提交 1 个回复 qian 赞同来自: 只播放一次获取回调需要Event.STOPPED 循环播放,获取每次播放完成是Event.COMPLETE 2018-01-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 fenxw 相关问题 骨骼动画...

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

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

....play(0);   可以添加 监听函数 监听动画播放结束 ss.show.on(Event.COMPLETE, this, onAnimComplete);     good luck:) 2019-02-15 0 0 分享 微博 QZONE 微信 nevercai 赞同来自: load之后实例化prefab,实例化之后就跟普通scene一样使用了。 ... let prefab:Laya.Pref...

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

43. 3D中的Animator如何从指定的某一帧开始播放动画 [ 84%]

...); animator.addClip(totalAnimationClip,"runShoot",startFrame); animator.on(Event.STOPPED, this, this.removeClip); animator.on(Event.COMPLETE, this, this.removeClip); animator.play("runShoot"); 2018-07-26 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个要在unity 里面进行切片,...

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

44. Laya2.0 beta3 Animator 中的 on 事件 怎么没了 [ 83%]

...(Laya.Animator);//监听默认动画完成后播放站立动画ani.on(Laya.Event.COMPLETE,this,this.onAniComplete,[ani]);   可是 实际上并没有啊。 没有 on 这个 函数了 .  要用什么代替啊?  2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

45. 用Loader加载完atlas,然后使用animation播放问题 [ 82%]

...用animation播放问题 this._load = new Laya.Loader() this._load.on(Laya.Event.ERROR, this, this.onError); this._load.on(Laya.Event.COMPLETE, this, this.loadComplete); this._load.load(this._data.url, Laya.Loader.ATLAS, true); 加载完成后 this._ani = new Animation(); this._ani.loadImages(这里...

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

46. 1.5.4_beta,动画播放完毕的监视器很大概率会不起作用了 [ 82%]

...率会不起作用了,回调函数经常没有执行 animaNet.once(laya.events.Event.COMPLETE, animaNet, OnNetAnimaDone); // animaNet是个laya.display.Animation 2016-12-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 ...

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

47. laya.display.Animation [ 82%]

...l Classes | Index | Frames No Frames AnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放...

来源: laya_api 发布时间: 20170929

48. FrameAnimation complete事件回掉参数为undefinend [ 82%]

...var ani1:Laya.FrameAnimation = this.ani1; ani1.play(0,false); ani1.on(laya.events.Event.COMPLETE,this,this.onPlayEnd); onPlayEnd(evt) { //evt 居然是undefinend。事件机制还能用吗? } 2017-09-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

49. laya.display.Animation [ 82%]

...l Classes | Index | Frames No Frames AnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationInheritanceAnimation AnimationBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控...

来源: Laya2.0_api 发布时间: 20190513

50. 输入设备-贪吃蛇(重力感应) [ 81%]

... Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Event = Laya.Event, Accelerator = Laya.Accelerator; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; La...

来源: Laya2.0_示例 发布时间: 20241001