Update YooAssets

在更新资源清单之前检查已加载资源包并给与警告。
This commit is contained in:
hevinci
2022-09-08 17:04:39 +08:00
parent 6df57cd3cd
commit d697ebe521
2 changed files with 20 additions and 0 deletions

View File

@@ -346,6 +346,15 @@ namespace YooAsset
report.ProviderInfos.Sort();
return report;
}
internal static List<BundleInfo> GetLoadedBundleInfos()
{
List<BundleInfo> result = new List<BundleInfo>(100);
foreach (var bundleLoader in _loaders)
{
result.Add(bundleLoader.MainBundleInfo);
}
return result;
}
#endregion
}
}