From 9c7efb57bf1b21954c7d81b705c8a8a34e7fb364 Mon Sep 17 00:00:00 2001 From: yyl <yyl> Date: 星期二, 01 七月 2025 17:39:18 +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