From 258234852dd4c5e7c70df9b9fe2a3f91e53d965a Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 20 十一月 2025 15:29:12 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20: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