Exemplo n.º 1
0
    public static string GetMD5FromFile(string path)
    {
        if (string.IsNullOrEmpty(path))
        {
            return("");
        }

        if (s_FileList == null)
        {
            s_FileList = BuildCommon.ReadJsonFromFile <ArtResourceFileList>("Assets/" + "ArtsFileList.txt");
        }

        if (s_FileList == null)
        {
            return("");
        }

        return(s_FileList.GetMD5(path));
    }