Example #1
0
    //Role
    static void ExportAssetCommonRole()
    {
        List <string> tabPaths     = ToolsConst.GetCommonUIRolePath();
        List <string> paths        = new List <string>();
        List <string> pathFiles    = new List <string>();
        List <string> includeNames = new List <string>();

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