From a1a815a62a3d60ec8a5891484cfa98f44b37c574 Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Mon, 19 May 2025 18:11:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=87=A0=E4=B8=AABug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HotFix/GameLogic/Manager/DataGameSceneManager.cs | 2 ++ .../Assets/GameScripts/HotFix/GameLogic/UI/UIGameRankForm.cs | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs index 67757be7..e5b732fe 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs @@ -54,6 +54,8 @@ namespace GameLogic // 设置游戏时长 m_GameTimerLen = EventConts.gameLenTiemr; + m_GameTimerLen = GameModule.Setting.GetInt("gameLenTiemrId"); + // 设置数据同步 GiftEffectBool = GameModule.Setting.GetBool("GiftEffect"); WorldEffectBool = GameModule.Setting.GetBool("WorldEffect"); diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameRankForm.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameRankForm.cs index 34634295..5aea6f15 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameRankForm.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameRankForm.cs @@ -43,11 +43,12 @@ namespace GameLogic #region 事件 private void OnClick_RankBtn() { - + GameModule.UI.ShowUI(); } private void OnClick_CloseBtn() { // 返回主界面 + GameModule.UI.CloseUI(); } private void OnClick_RestBtn() {