From c9a0511e06d6ae2d83fc5554ee40a6a40dbd283d Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 11 十一月 2025 20:15:16 +0800
Subject: [PATCH] Merge branch 'master' of http://mobile.secondworld.net.cn:10010/r/Project_SG_scripts
---
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