hch
2025-11-25 d1ef8be046f289896d8c6d67d57688f7d01a4164
Main/ResModule/ResManager.cs
@@ -126,6 +126,7 @@
    }
#endif
    //needExt 是否需要函数内部添加后缀
    public T LoadAsset<T> (string directory, string name, bool needExt = true) where T : UnityEngine.Object
    {
        T asset = null;
@@ -149,6 +150,7 @@
        return LoadAssetInternal<T>(directory, name, needExt);
    }
    //needExt 是否需要函数内部添加后缀
    private T LoadAssetInternal<T>(string directory, string name, bool needExt = true) where T : UnityEngine.Object
    {
        T asset = null;