/// <summary> /// 获取资源包的调试信息列表 /// </summary> internal void GetBundleDebugInfos(List <DebugBundleInfo> output) { var bundleInfo = new DebugBundleInfo(); bundleInfo.BundleName = OwnerBundle.MainBundleInfo.BundleName; bundleInfo.RefCount = OwnerBundle.RefCount; bundleInfo.Status = OwnerBundle.Status; output.Add(bundleInfo); DependBundleGroup.GetBundleDebugInfos(output); }
/// <summary> /// 获取资源包的调试信息列表 /// </summary> internal void GetBundleDebugInfos(List <DebugBundleInfo> output) { foreach (var loader in _dependBundles) { var bundleInfo = new DebugBundleInfo(); bundleInfo.BundleName = loader.MainBundleInfo.BundleName; bundleInfo.RefCount = loader.RefCount; bundleInfo.Status = loader.Status; output.Add(bundleInfo); } }