format code

This commit is contained in:
2026-01-28 20:27:15 +08:00
parent d698e0afc1
commit 98abc31c6f
38 changed files with 2043 additions and 2043 deletions
+11 -11
View File
@@ -4,19 +4,19 @@ using UnityEngine;
namespace XianTu
{
internal class FileLoad(string dirPath) : ILoad
internal class FileLoad(string dirPath) : ILoad
{
public GameObject LoadPrefab(string path)
{
return null;
}
public GameObject LoadPrefab(string path)
{
return null;
}
public string LoadText(string path)
{
return File.ReadAllText(Path.Combine(_dirPath, path));
}
public string LoadText(string path)
{
return File.ReadAllText(Path.Combine(_dirPath, path));
}
private readonly string _dirPath = dirPath ?? "";
}
private readonly string _dirPath = dirPath ?? "";
}
}