From 7f957ecb475adb30eb692884d22412b765fa1a7d Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 24 六月 2025 16:25:07 +0800
Subject: [PATCH] 0312 共用预制体改目录UIComp,图集管理

---
 Assets/Editor/Tool/UpdateAssetBundleName.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Assets/Editor/Tool/UpdateAssetBundleName.cs b/Assets/Editor/Tool/UpdateAssetBundleName.cs
index 2440ba9..39f427c 100644
--- a/Assets/Editor/Tool/UpdateAssetBundleName.cs
+++ b/Assets/Editor/Tool/UpdateAssetBundleName.cs
@@ -104,8 +104,8 @@
 
 public class UpdateUIPrefabSetting
 {
-    static string prefabRootPath = Application.dataPath + "/ResourcesOut/Prefab";
-    static string prefabAssetRelativePath = "Assets/ResourcesOut/Prefab";
+    static string prefabRootPath = Application.dataPath + "/ResourcesOut/UIComp";
+    static string prefabAssetRelativePath = "Assets/ResourcesOut/UIComp";
 
 
     [MenuItem("绋嬪簭/璁剧疆璧勬簮鍖呭悕/鏇存柊Prefab(All) AssetBundleName")]
@@ -116,12 +116,12 @@
         {
             var importerPath = prefabAssetRelativePath + Path.DirectorySeparatorChar + file.Name;
             var importer = AssetImporter.GetAtPath(importerPath);
-            importer.assetBundleName = "prefab";
+            importer.assetBundleName = "uicomp";
             // EditorUtility.SetDirty(importer);
         }
 
         
-        Debug.Log("Prefab璧勬簮鍖呭悕鏇存柊瀹屾垚!");
+        Debug.Log("UIComp璧勬簮鍖呭悕鏇存柊瀹屾垚!");
         // AssetDatabase.SaveAssets();
         // AssetDatabase.Refresh();
     }
@@ -482,8 +482,8 @@
             if (extension == ".meta")
             {
                 continue;
-            }
-
+            }
+
             if (extension == ".DS_Store")
             {
                 continue;

--
Gitblit v1.8.0