大约有 399 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
Laya_社区(126) Laya3.0_api(102) Laya2.0_api(77) laya_api(59) Laya2.0_文档(13) Laya2.0_示例(8) Laya3.0_文档(7) Laya_示例(7)
... 类动作节点回调 timeline 类能否给每个动作节点添加一个 complete 或者progress 回调? 目前看来只支持所有动作节点执行完毕后complete 回调。 日常开发中给每个小动作节点添加回调时很常见的, 在使用cocos-js的时候就经常用到。 ...
来源: Laya_社区 发布时间: 20180718
...做完这个事件根本没有 //监听动画完成事件 roleAni.on(Event.COMPLETE,this,onAniComplete); 监听了,并没有什么发生 2017-09-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Supermang42 赞...
来源: Laya_社区 发布时间: 20170914
...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
... * @param {Array} param 打开场景携带参数 * @param {Laya.Handler} complete 打开场景完成回调 * @param {Laya.Handler} progress 打开场景进度回调 */ openScene(url = null, otherHandler = null, closeOther = true, param = null, complete = null, progress = null) { if (!url) return if ...
来源: Laya_社区 发布时间: 20181124
...s Hide Inherited Events Show Inherited Events Event Summary Defined By complete完成挂点更新时调度。AttachPoint enabledchanged在enable属性发生变化后调度。Component3DProperty DetailattachBonespropertypublic var attachBones:Vector.<String>挂点骨骼的名称。matrixsp...
来源: laya_api 发布时间: 20170929
骨骼动画有没有COMPLETE 事件,设置了没用 2017-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: skeleton.player.on(Event.COMPLETE,this,onCom); 2017-08-24 0 0 分...
来源: Laya_社区 发布时间: 20170824
...Request(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); 2017-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20171017
...fer = Loader.getRes(mAniPath); mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.parseData(tTexture, arraybuffer, 10); } parseComplete() { const Event = Laya.Event; for (let i = 0; i = tAnimNum) { mActionIndex = 0; } for (let i = 0, n = mAnimationArray.length;...
来源: Laya2.0_示例 发布时间: 20251130
...0); 可以添加 监听函数 监听动画播放结束 ss.show.on(Event.COMPLETE, this, onAnimComplete); good luck:) 2019-02-15 0 0 分享 微博 QZONE 微信 nevercai 赞同来自: load之后实例化prefab,实例化之后就跟普通scene一样使用了。 ... let prefab:Laya.Prefab = L...
来源: Laya_社区 发布时间: 20190215
COMPLETE直接执行了,没有在播放后执行 动画资源前面已经加载过了,这里调用,如果没有COMPLETE的最后一句动画是正常播放的,但是加上后,就直接没有播放然后remove了 代码如下 附件 : --> 2018-03-05 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20180305