大约有 79 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0037 秒)
..."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_示例 发布时间: 20241124
...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_示例 发布时间: 20241124
...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_示例 发布时间: 20241124
...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
...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_示例 发布时间: 20241124
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
...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
...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
...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_示例 发布时间: 20241124
...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_示例 发布时间: 20241124