//是否有不同的cs资源需要打包
    static bool CopyToCsPath(string srcPath)
    {
        List <string> diffList = new List <string>();

        ConfigPathSet configPathSet = ConfigPathSet.GetConfig();
        string        destPath      = configPathSet.projectCSPath;

        if (!CheckPath(ref destPath))
        {
            return(false);
        }

        string projectTxtPath = configPathSet.projectTxtPath;

        if (!CheckPath(ref projectTxtPath))
        {
            return(false);
        }

        ImprotStaticDataResult importResult = ImportStaticData.ExecConfigPathSet(diffList, srcPath, destPath);

        if (importResult != ImprotStaticDataResult.Success)
        {
            Log("Log: ", "import Cs failed!\n error code : " + importResult.ToString());
            Debug.Log("导入静态数据Cs失败!\n 错误代码 : " + importResult.ToString());
            return(false);
        }

        return(true);
    }
    //是否有不同的txt资源需要打包
    static bool GetDifffTxtPath(string srcPath, ref Dictionary <string, string> dicDiffPath)
    {
        List <string> diffList = new List <string>();

        ConfigPathSet configPathSet = ConfigPathSet.GetConfig();
        string        destPath      = configPathSet.projectTxtPath;

        if (!CheckPath(ref destPath))
        {
            return(false);
        }

        ImprotStaticDataResult importResult = ImportStaticData.ExecConfigPathSet(diffList, srcPath, destPath);

        if (importResult != ImprotStaticDataResult.Success)
        {
            Log("Log: ", "import static Txt failed!\n error code : " + importResult.ToString());
            Debug.Log("导入静态数据Txt失败!\n 错误代码 : " + importResult.ToString());
            return(false);
        }

        foreach (var path in diffList)
        {
            string fileName  = Path.GetFileNameWithoutExtension(path);
            string assetPath = ToolCommon.GetAssetPath(path);

            if (!dicDiffPath.ContainsKey(fileName))
            {
                dicDiffPath.Add(fileName, assetPath);
            }
        }

        return(true);
    }