@cc-component/cc-core 1.5.8 → 1.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -308,11 +308,11 @@ export class ResourceManager {
|
|
|
308
308
|
return new Promise<T>((resolve, reject) => {
|
|
309
309
|
bundle.load(path, type, (err, asset) => {
|
|
310
310
|
if (err) {
|
|
311
|
-
|
|
311
|
+
Logger.error(`${bundleName}-加载资源失败: ${path}`);
|
|
312
312
|
resolve(null);
|
|
313
313
|
return;
|
|
314
314
|
}
|
|
315
|
-
Logger.debug('--加载', path)
|
|
315
|
+
//Logger.debug('--加载', path)
|
|
316
316
|
// 记录加载的资源
|
|
317
317
|
ResourceManager.instance.trackAsset(path, asset, bundleName);
|
|
318
318
|
ResourceManager.instance.LogAssets(bundleName)
|