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

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

11. 骨骼动画-藤蔓 [ 92%]

..."res/spine/spineRes5/vine.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自...

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

12. 骨骼动画-橡胶人 [ 92%]

...ine/spineRes4/stretchyman.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自...

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

13. 骨骼动画-换装 [ 91%]

...s/spine/spineRes2/goblins.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { trace("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFac...

来源: Laya_示例 发布时间: 20241001

14. 分享:销毁龙骨动画! [ 90%]

...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

15. 骨骼动画-换装 [ 90%]

...s/spine/spineRes2/goblins.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自...

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

16. Animator无法监听complete [ 89%]

Animator无法监听complete 首先,我新增了多个clip到Animator: this.ani = this.actor.getComponentByType(Laya.Animator) as Laya.Animator; this.ani.addClip(clipSuccess, this.ANIM_SUCCESS_IDLE_NICK,0,34); this.ani.addClip(clipFailed, this.ANIM_FAILED_IDLE_NICK,0,34); this.ani.addClip(clipCardI...

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

17. laya.events.Event_API3.0 [ 87%]

...R CHANGE CHANGED CLICK CLOSE COLLISION_ENTER COLLISION_EXIT COLLISION_STAY COMPLETE DEVICE_LOST DISPLAY DOUBLE_CLICK DRAG_END DRAG_MOVE DRAG_START EMPTY END ENTER ERROR FOCUS FOCUS_CHANGE FRAME FULL_SCREEN_CHANGE INPUT JOINT_BREAK KEY_DOWN KEY_PRESS KEY_UP LABEL LAYERCHANGE LINK LOADED MESSAGE MOUSE...

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

18. laya.events.Event [ 87%]

...ing = close[static] 定义 close 事件对象的 type 属性值。Event  COMPLETE : String = complete[static] 定义 complete 事件对象的 type 属性值。Event  COMPONENT_ADDED : String = componentadded[static] 定义 componentadded 事件对象的 type 属性值。Event  COMPONENT_REMOVE...

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

19. 骨骼动画-Spine事件 [ 87%]

...res/spine/spineRes6/alien.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { trace("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFac...

来源: Laya_示例 发布时间: 20241001

20. 骨骼动画-Spine事件 [ 87%]

...res/spine/spineRes6/alien.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自...

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