修改结算界面v0.2

增加水波纹效果
This commit is contained in:
2026-07-05 03:09:42 +08:00
parent 904f854774
commit f5883eb451
16 changed files with 1734 additions and 57 deletions
+3 -19
View File
@@ -44,25 +44,9 @@ namespace GameFramework
void ShowGameOver()
{
// 显示结束画面
if (gameOverCanvas != null)
gameOverCanvas.enabled = true;
// 暂停游戏
if (TimeController.Instance != null)
TimeController.Instance.Pause();
// 显示鼠标
Cursor.visible = true;
Cursor.lockState = CursorLockMode.None;
// 选中确认按钮
if (confirmButton != null)
confirmButton.Select();
// 播放音效
if (AudioManager.Instance != null && gameOverSFX != null)
AudioManager.Instance.PlaySFX(gameOverSFX);
// 失败时由 GameLostOverlay 接管 UI,这里不再显示旧 Canvas
// 暂停和鼠标由 GameManager + GameLostOverlay 统一处理
return;
}
void Update()