update file system

IFileSystem新增ReadFileData方法
This commit is contained in:
何冠峰
2024-07-08 17:36:25 +08:00
parent d2b38cbc1b
commit b0ce14dc0e
15 changed files with 150 additions and 68 deletions

View File

@@ -121,7 +121,7 @@ namespace YooAsset
public static string ReadAllText(string filePath)
{
if (File.Exists(filePath) == false)
return string.Empty;
return null;
return File.ReadAllText(filePath, Encoding.UTF8);
}