update cache system
缓存系统支持后缀名存储方式
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
|
||||
using System.IO;
|
||||
|
||||
namespace YooAsset
|
||||
{
|
||||
internal class VerifyElement
|
||||
@@ -21,5 +22,18 @@ namespace YooAsset
|
||||
DataFilePath = dataFilePath;
|
||||
InfoFilePath = infoFilePath;
|
||||
}
|
||||
|
||||
public void DeleteFiles()
|
||||
{
|
||||
if (File.Exists(DataFilePath))
|
||||
{
|
||||
File.Delete(DataFilePath);
|
||||
}
|
||||
|
||||
if (File.Exists(InfoFilePath))
|
||||
{
|
||||
File.Delete(InfoFilePath);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user