大约有 706 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)
Laya_社区(629) Laya_示例(20) Laya3.0_文档(13) Laya2.0_api(13) laya_api(11) Laya3.0_api(10) Laya2.0_示例(7) Laya2.0_文档(3)
...tar:Laya.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
...问 在场景中有一个按钮组件,设置了监听 this.btn.on(Laya.Event.CLICK, this, this.changeData);,, 然后切换场景 ,是不是要在 onDestroy(): void { if (this.btn) { // 清理所有以 this 为 caller 的事件 this.btn.offA...
来源: Laya_社区 发布时间: 20260114
... SpineTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private function parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.ske...
来源: Laya2.0_文档 发布时间: 20210715
...ox.com/demo2/?language=ch&category=2d&group=Skeleton&name=SpineEvent 2019-05-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xylon 相关问题 分享:自定义事件派发与侦听(A页面派发 B页面侦听) TextIn...
来源: Laya_社区 发布时间: 20190222
...ager身兼多职引起的,在Animals中不要引用Manager。应该引入event机制,当Anaimal的attack动作发生时,触发'attack' 事件,而在Manager里监听attack事件,调用自已的change函数。 Animal.tsclass Animal implements EventEmiter { public sex: number = 0; public Creat...
来源: Laya_社区 发布时间: 20190226
...Laya.stage.height - xxx.height) / 2; Laya.stage.addChild(xxx); xxx.on(Laya.Event.CLICK, this, this.onXXX); private onXXX() { console.debug("Hello"); } 2017-06-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...
来源: Laya_社区 发布时间: 20170606
...问 Animation 使用疑问 点击事件疑问 layaair2.0)请问js的Laya.Event.FRAME怎么用,看api中有,但写了不执行。 【BUG】升级了Laya2.0.2新版LayaAir.d.ts和js库API对不上!! 关于TS环境下的第三方库导入的疑问 官方的API为什么找不到pivot和pos? ...
来源: Laya_社区 发布时间: 20180331
...============ button width: 155, height: 155 mouse position, x: 374, y: 835 event type: click button width: 155, height: 155 mouse position, x: 374, y: 835 event type: mouseout button width: 155, height: 155 mouse position, x: 374, y: 835 event type: click button width: 155, height: 155 mouse positio...
来源: Laya_社区 发布时间: 20180724
...写或是小写状态,但在Laya中,不管是在 Keyboard 中还是在 Event 中,都找不到capsLock 的相关状态属性。 2017-08-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 ...
来源: Laya_社区 发布时间: 20170815
...画结束回调有延迟 this.ded.addLabel("animOver",9); this.ded.on(Laya.Event.LABEL, this, this.onHitOver); this.ded.on(Laya.Event.COMPLETE, this, this.onHitOver); 两种方法都会有延迟,不能100%执行 2018-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20181108