优化代码

This commit is contained in:
2024-10-26 22:42:24 +08:00
parent f4f01e9e59
commit 71b922fe6b
10 changed files with 562 additions and 27 deletions

View File

@@ -22,7 +22,7 @@ namespace Game.FsmNode
// GameEventDefine.GlobalRunaway.SendMessage (10);
MapContent.Instance.IsPause = true;
AudioManager.Instance.PlaySoundEffect (SeAudio.OverGame_Success);
if (RoomManager.Instance.PartIndex < 3)
if (RoomManager.Instance.PartIndex <= 3)
{
await UniTask.Delay (1500);
UIManager.Instance.OpenView (UIPanel.SuccessPanel , new IC_ViewData (RoomManager.Instance.PartIndex));