mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-27 03:00:17 +00:00
update file system
IFileSystem新增ReadFileData方法
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user