update core

This commit is contained in:
2024-10-28 00:40:00 +08:00
parent 991ce10c52
commit 66b8593446
14 changed files with 116 additions and 20 deletions

View File

@@ -19,9 +19,10 @@ namespace Game.FsmNode
CameraEffectUtils.Instance.SetAberration (1f , 0.5f);
CameraEffectUtils.Instance.SetGameCamBlur (0.35f , 0.5f , null);
AudioManager.Instance.PlaySoundEffect (SeAudio.OverGame_Fail);
GameManager.Instance.Vibrator (VibratorScale.Normal);
GameEventDefine.GlobalRunaway.SendMessage (10);
await UniTask.Delay (3000);
MapContent.Instance.ScenePart.LossCount ++;
this.stateMachineRunner.OpenState (GameState.StartGame);
}

View File

@@ -18,11 +18,11 @@ namespace Game.FsmNode
{
RoomManager.Instance.LoadScenePart (RoomManager.Instance.PartIndex);
}
// AudioManager.Instance.PlayBGM(BgmAudio.NormalBgm , 0.65f);
GameEventDefine.ChangeGameFsm.SendMessage (GameState.FightGame , true);
UIManager.Instance.CloseLoading (null);
MapContent.Instance.ResetGame ();
// AudioManager.Instance.PlayBGM(BgmAudio.NormalBgm , 0.65f);
CameraManager.Instance.SetCameraState (CameraManager.CameraState.Player_Near);
GameEventDefine.ChangeGameFsm.SendMessage (GameState.FightGame , true);
}
protected override void OnExit ()