From 5f531573714a504132c9b84811f33e430df21281 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期六, 21 三月 2026 01:37:44 +0800
Subject: [PATCH] 0312 每两帧处理一个模型

---
 Main/System/AssetVersion/InGameDownLoadProgress.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Main/System/AssetVersion/InGameDownLoadProgress.cs b/Main/System/AssetVersion/InGameDownLoadProgress.cs
index 884fb7e..53e6e82 100644
--- a/Main/System/AssetVersion/InGameDownLoadProgress.cs
+++ b/Main/System/AssetVersion/InGameDownLoadProgress.cs
@@ -32,7 +32,7 @@
             else
             {
                 var progress = Mathf.RoundToInt(InGameDownLoad.Instance.progress * 100);
-                m_ProgressText.text = StringUtility.Contact(progress, "%");
+                m_ProgressText.text = StringUtility.Concat(progress.ToString(), "%");
             }
         }
         else
@@ -59,6 +59,9 @@
     private void OnDestroy()
     {
         m_ViewDownLoad.RemoveAllListeners();
+        InGameDownLoad.Instance.downLoadStateChangeEvent -= OnDownLoadStateChange;
+        InGameDownLoad.Instance.dominantDownLoadEvent -= OnDownLoadDominantStateChange;
+        
     }
 
     private void OnDownLoadDominantStateChange(InGameDownLoad.Dominant _dominant)
@@ -113,7 +116,7 @@
             else
             {
                 var progress = Mathf.RoundToInt(InGameDownLoad.Instance.progress * 100);
-                m_ProgressText.text = StringUtility.Contact(Mathf.Clamp(progress, 0, 99), "%");
+                m_ProgressText.text = StringUtility.Concat(Mathf.Clamp(progress, 0, 99).ToString(), "%");
             }
         }
     }

--
Gitblit v1.8.0