From 6696f835cfba7fd451d7a78342bb56cdc6e2e940 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 10 九月 2025 14:23:45 +0800
Subject: [PATCH] 125 【战斗】战斗系统 子弹部分代码
---
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