3.7.4 spine不同步转3.8.1 修复3.8.1 动画

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-11-01 04:49:52 +08:00
parent 6ebed0b45e
commit 2825c1e1d4
328 changed files with 1222 additions and 362 deletions

View File

@@ -93,8 +93,8 @@ export default abstract class GRoleBase<T> extends GObject<T>{
onSyncUpdate(dt: number,frame:JNFrameInfo, input?: T){
//更新状态机
this.fsm && this.fsm.onUpdate(dt / 1000);
this.fsmAnim && this.fsmAnim.onUpdate(dt / 1000);
this.fsm && this.fsm.onUpdate(dt / 1000,frame);
this.fsmAnim && this.fsmAnim.onUpdate(dt / 1000,frame);
}