From a50e9cd8a2c75bb9da69a274b0b5015f423a91b7 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 09 四月 2026 16:50:36 +0800
Subject: [PATCH] 0312 武将界面防满级报错

---
 Main/System/Debug/DebugController.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/Main/System/Debug/DebugController.cs b/Main/System/Debug/DebugController.cs
index 826e178..78c0fa3 100644
--- a/Main/System/Debug/DebugController.cs
+++ b/Main/System/Debug/DebugController.cs
@@ -16,8 +16,12 @@
 
     private void OnEnable()
     {
-        m_Version.text = string.Format("{0}_{1} 鍒嗘敮:{2}",
+#if UNITY_EDITOR
+        m_Version.text = string.Empty;
+#else
+        m_Version.text = string.Format("{0}_{1}  鍒嗘敮: {2}",
                 VersionConfig.Get().version, VersionConfig.Get().buildIndex, VersionConfig.Get().branch);
+#endif
     }
 
 

--
Gitblit v1.8.0