From b0a5d4688f1af73b5ad03ccc2df11c9aac1523a9 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 29 七月 2025 16:56:23 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/ResModule/ResManager.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Main/ResModule/ResManager.cs b/Main/ResModule/ResManager.cs
index 3d68b85..7c55d05 100644
--- a/Main/ResModule/ResManager.cs
+++ b/Main/ResModule/ResManager.cs
@@ -162,13 +162,13 @@
     public string[] LoadConfig(string name)
     {
         string path = string.Empty;
+#if UNITY_EDITOR
         if (!AssetSource.isUseAssetBundle)
         {
-#if UNITY_EDITOR
             path = ResourcesPath.CONFIG_FODLER + "/" + name + ".txt";
-#endif
         }
         else
+#endif
         {
             path = AssetVersionUtility.GetAssetFilePath($"Config/{name}.txt");
         }

--
Gitblit v1.8.0