/// <summary> /// 加载 Assets Streaming 文件夹下资源 /// </summary> /// <param name="resName">加载的资源名字</param> /// <param name="bundPath">Streaming 下文件夹 如: UI</param> /// <param name="type">资源的类型</param> /// <returns></returns> private static LoadSourceEntity LoadStreamingSources(string resName, string bundPath) { if (string.IsNullOrEmpty(bundPath)) { bundPath = resName; } string path = LCSPathHelper.UnityStreamingSourcePath() + bundPath; return(LoadBinarySources(path, resName)); }