From 62f2cc2f08a5e10ccd0d27dae01f01df47ab9bac Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 13 三月 2026 16:12:17 +0800
Subject: [PATCH] 0312 放宽加载表时长警告
---
Assets/Editor/ConfigGen/ConfigGenerater.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Assets/Editor/ConfigGen/ConfigGenerater.cs b/Assets/Editor/ConfigGen/ConfigGenerater.cs
index cec9736..3cbf400 100644
--- a/Assets/Editor/ConfigGen/ConfigGenerater.cs
+++ b/Assets/Editor/ConfigGen/ConfigGenerater.cs
@@ -217,7 +217,7 @@
sb.AppendLine(" LoadConfigByType(configType);");
sb.AppendLine(" sw.Stop();");
sb.AppendLine("#if UNITY_EDITOR");
- sb.AppendLine(" if (sw.ElapsedMilliseconds >= 100)");
+ sb.AppendLine(" if (sw.ElapsedMilliseconds >= 500)");
sb.AppendLine(" {");
sb.AppendLine(" Debug.LogError($\"鍔犺浇閰嶇疆 {configType.Name} 鑰楁椂杈冮暱: {sw.ElapsedMilliseconds} ms\");");
sb.AppendLine(" }");
@@ -410,7 +410,7 @@
sb.AppendLine();
sb.AppendLine(" sw.Stop();");
sb.AppendLine();
- sb.AppendLine(" if (sw.ElapsedMilliseconds >= 100)");
+ sb.AppendLine(" if (sw.ElapsedMilliseconds >= 500)");
sb.AppendLine(" {");
sb.AppendLine(" Debug.LogError($\"[鑷] 鍔犺浇閰嶇疆 {configType.Name} 鑰楁椂杈冮暱: {sw.ElapsedMilliseconds} ms\");");
sb.AppendLine(" }");
--
Gitblit v1.8.0