Example #1
0
    //other
    static void ExportAssetCommonOther()
    {
        List <string> tabPaths     = ToolsConst.GetCommonOtherFilePath();
        List <string> paths        = new List <string>();
        List <string> pathFiles    = new List <string>();
        List <string> includeNames = new List <string>();

        includeNames.Add(".prefab");
        includeNames.Add(".png");
        foreach (var v in tabPaths)
        {
            Recursive(v, paths, pathFiles, includeNames);
        }
        //给文件设置AssetBundleName
        SetAssetBundleName(pathFiles, "other");
    }