From 94b65267aa78f92a037a2f39f9d883e486cf6e91 Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Wed, 4 Jun 2025 21:06:05 +0800 Subject: [PATCH] 1 --- .../Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs index 80725ac0..30796c5b 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs @@ -587,7 +587,11 @@ namespace GameLogic // 返回格式化的字符串 m_tmpTimer.text = $"{minutes}:{remainingSeconds:D2}"; - + if (DataGameSceneManager.Instance.m_GameTimerLen <= 0) + { + m_rectGjsk.gameObject.SetActive(false); + } + }