chore():整理了一下文件夹和玩家的血量逻辑

This commit is contained in:
2025-10-18 15:41:43 +08:00
parent ab403fac4b
commit b709d1219f
17 changed files with 214 additions and 33 deletions

View File

@@ -1,5 +1,6 @@
using System;
using Core;
using Script.Gameplay.Input;
using UnityEngine;
namespace Script.Gameplay.Global
@@ -19,6 +20,13 @@ namespace Script.Gameplay.Global
private void Start()
{
GameCountdownManager.Instance.StartLevelTimer();
GameCountdownManager.Instance.OnFinish.AddListener(RestartGame);
}
public void RestartGame()
{
GameManager.Instance.ReStartGame();
}
}
}