大约有 218 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0044 秒)
...re ... ot%3B, Laya.Loader.SPINE).then((templet: Laya.SpineTemplet) => { this.skeleton = new Laya.SpineSkeleton(); this.skeleton.templet = templet; console.log("动画数量:", this.skeleton.getAnimNum()); for (let i = 0; i < this.skeleton.getAnimNum(); i++) { co...
来源: Laya_社区 发布时间: 20250928
...成后播放站立动画 shared.on(Event.COMPLETE,this,onAniComplete,[ani]); //播放攻击动画 ani.play(); 在unity里测试正常,导出的时候也生成了 lani文件,和Lm同放在上面的网络地址里,同一个...
来源: Laya_社区 发布时间: 20180118
...调 private function onClick():void { dialog.closeHandler=Handler.create(this,onClosed); } private function onClosed():void { trace("close"); } 2017-07-03 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ethan 相关问题 骨骼动画播...
来源: Laya_社区 发布时间: 20170702
...oParticle() { Laya.loader.load('noLanguage/test.part', Laya.Handler.create(this, this.onAssetsLoaded), null, Laya.Loader.JSON); } onAssetsLoaded(settings: Laya.ParticleSetting) { let sp = new Laya.Particle2D(settings); // sp.emitter.start(); // sp.play(); Laya.stage.addChild(sp); sp.x = Laya.sta...
来源: Laya_社区 发布时间: 20191227
...时跳帧,找不到原因 IDE中的动画: 创建动画代码: this.actor = new Laya.Animation(); this.actor.loadAnimation("jump.ani"); 调用时直接play() 然后浏览器中的画面就是动画跳帧 求大神帮忙解答一下 附件 : --> 2017-08-21 添加评论 免费帖 -->...
来源: Laya_社区 发布时间: 20170821
...事件,求助 //响应点击事件 humanSkeleton.on(Laya.Event.CLICK,this,onclickHuman); function onclickHuman(){ console.log("onclickHuman"); } https://www.cnblogs.com/Jackie-Snow/p/8487607.html 网上的这个方式试了,没用,按照网上说是没有设置width与height 但是这个...
来源: Laya_社区 发布时间: 20180909
...-23 10:57 那怎么找里面的那个list w1114367261 • 2018-05-23 11:57 this.storelist.renderHandler=new Handler(this,onRender);//当list刷新时触发 并发送Box,index this.storelist.mouseHandler = new Handler(this,onMouse);//当list被点击时触发 并发送event,index } public function ...
来源: Laya_社区 发布时间: 20180522
...模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 this.init(); } private init(): void { var animation:Animation = new Laya.Animation();//创建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集并播放 animation....
来源: Laya3.0_api 发布时间: 20231115
...个事件根本没有 //监听动画完成事件 roleAni.on(Event.COMPLETE,this,onAniComplete); 监听了,并没有什么发生 2017-09-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Supermang42 赞同来自:...
来源: Laya_社区 发布时间: 20170914
..., alpha:1},2000,null,0); timeLine.play(0,true); timeLine.on(Event.COMPLETE,this,this.onComplete); timeLine.on(Event.LABEL, this, this.onLabel); } function onComplete() { console.log("timeLine complete!!!!"); } function onLabel(label) { console.log("LabelName:" + label); }少年 没仔细看官方的...
来源: Laya_社区 发布时间: 20180718