关卡退出清理数据

main
yurui 2024-09-06 14:06:26 +08:00
parent 713b1f9d50
commit 4a3c0a5dd8
1 changed files with 5 additions and 1 deletions

View File

@ -159,8 +159,12 @@ namespace Gameplay.Level
}
if (null != ExitLevelChangeMainFunc && !ExitLevelChangeMainFunc.Invoke())
{
CurrLevel = null;
IsInLevel = false;
EventManager.Instance.Send(EventManager.EventName.GuideExitLevel);
else
}
else
{
if (isPVP)
//GameStateManager.Instance.ChangeState(new GameStateMainScene());