三国卡牌客户端基础资源仓库
hch
8 天以前 91a5cf49b841a6e384a11cf2a3a76b1f3644370c
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;