| | |
| | | //checkList 用于外部检查文件下载后是否一致,不包含没有文件的情况 |
| | | public bool CheckLocalFileValid(List<bool> checkList = null) |
| | | { |
| | | string path = StringUtility.Contact(ResourcesPath.Instance.ExternalStorePath, m_RelativePath); |
| | | string path = StringUtility.Concat(ResourcesPath.Instance.ExternalStorePath, m_RelativePath); |
| | | var fileInfo = new FileInfo(path); |
| | | |
| | | if (!fileInfo.Exists) |
| | |
| | | // 存在则比较 |
| | | public bool CheckLocalFileValid(AssetVersion otherAssetInfo) |
| | | { |
| | | string path = StringUtility.Contact(ResourcesPath.Instance.ExternalStorePath, m_RelativePath); |
| | | string path = StringUtility.Concat(ResourcesPath.Instance.ExternalStorePath, m_RelativePath); |
| | | |
| | | if (!File.Exists(path)) |
| | | { |