add XianTu

This commit is contained in:
2024-05-03 00:28:53 +08:00
parent 13e9a200b5
commit 8f5585081d
74 changed files with 2532 additions and 4589 deletions
+17
View File
@@ -0,0 +1,17 @@
using UnityEngine;
namespace AssetsLoader
{
public class ResourceLoad : ILoad
{
public GameObject LoadPrefab(string path)
{
return Resources.Load<GameObject>(path);
}
public string LoadText(string path)
{
return Resources.Load<TextAsset>(path).text;
}
}
}