mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
update
This commit is contained in:
@@ -55,6 +55,7 @@ export default class GFSMBase{
|
||||
}
|
||||
|
||||
open(){
|
||||
this.current = 0;
|
||||
this.isClose = false;
|
||||
}
|
||||
|
||||
|
@@ -1,9 +1,12 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"ver": "1.1.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "fe4e5e9b-d1dc-4aaf-9fa8-d089fd6ca00a",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
|
@@ -1,9 +1,12 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"ver": "1.1.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "552fd09c-0320-46c9-ac7a-abe954b75093",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
|
@@ -1,9 +1,12 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"ver": "1.1.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "05230b14-5c88-45fd-99c6-31b4b0513f45",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
|
@@ -66,7 +66,15 @@ export class GFSMBattleAmin extends GFSMBase{
|
||||
//设置监听
|
||||
this.spine.setEventListener(this.onEventListener.bind(this));
|
||||
//因为SpineBUG所以不使用Spine监听 采用自己调用
|
||||
// this.spine.setStartListener(this.onStartListener.bind(this));
|
||||
this.spine.setStartListener(this.onStartListener.bind(this));
|
||||
}
|
||||
|
||||
open(){
|
||||
super.open();
|
||||
//重置
|
||||
Object.values(this.process).forEach(info => {
|
||||
info.track = null;
|
||||
})
|
||||
}
|
||||
|
||||
//添加事件监听
|
||||
@@ -181,7 +189,7 @@ export class GFSMBattleAmin extends GFSMBase{
|
||||
if(!info.track){
|
||||
console.log(`播放动画-${this.spine.getComponent(GObject).nId}-`,info);
|
||||
info.track = this.spine.setAnimation(this.trackIndex,info.animName,info.isLoop);
|
||||
this.onStartListener(info.track);
|
||||
// this.onStartListener(info.track);
|
||||
}
|
||||
|
||||
return to;
|
||||
|
Reference in New Issue
Block a user