mirror of
https://github.com/soarqin/DSP_Mods_TO.git
synced 2026-02-04 14:12:18 +08:00
format code
This commit is contained in:
@@ -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 ?? "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user