Update editor logic

This commit is contained in:
hevinci
2022-09-27 21:04:08 +08:00
parent 50bfde6e8e
commit e1801a5fba
23 changed files with 193 additions and 254 deletions

View File

@@ -353,6 +353,9 @@ namespace YooAsset.Editor
/// </summary>
public static void FileMoveTo(string filePath, string destPath)
{
if (File.Exists(destPath))
File.Delete(destPath);
FileInfo fileInfo = new FileInfo(filePath);
fileInfo.MoveTo(destPath);
}