mirror of
https://github.com/soarqin/DSP_Mods_TO.git
synced 2025-12-12 01:23:31 +08:00
23 lines
366 B
C#
23 lines
366 B
C#
using System.IO;
|
|
using AssetsLoader;
|
|
using UnityEngine;
|
|
|
|
namespace XianTu
|
|
{
|
|
internal class FileLoad(string dirPath) : ILoad
|
|
{
|
|
|
|
public GameObject LoadPrefab(string path)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public string LoadText(string path)
|
|
{
|
|
return File.ReadAllText(Path.Combine(_dirPath, path));
|
|
}
|
|
|
|
private readonly string _dirPath = dirPath ?? "";
|
|
}
|
|
}
|