Exemple #1
0
        /// <summary>
        /// 是否下载完成
        /// </summary>
        bool IsDownOK(string file)
        {
            bool complete = downloadFiles.Contains(file);

            if (complete)
            {
                long filesize = GetFileSize(file);
                downsize = downsize + filesize;
                string size = CountSize(downsize);
                _loadassets.showStateInit("已下载游戏资源 " + size);
                updateLoadPos("检测到新资源,正在下载资源...");
            }
            return(complete);
        }