mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-22 08:20:18 +00:00
Update YooAssets
在更新资源清单之前检查已加载资源包并给与警告。
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user