mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-05-07 19:07:30 +08:00
.
This commit is contained in:
@@ -548,7 +548,7 @@ oops.res.loadDir("game", onProgressCallback, onCompleteCallback);
|
||||
/** 打印缓存中所有资源信息 */
|
||||
dump() {
|
||||
assetManager.assets.forEach((value: Asset, key: string) => {
|
||||
console.log(assetManager.assets.get(key));
|
||||
console.log(`引用数量:${value.refCount}`, assetManager.assets.get(key));
|
||||
})
|
||||
console.log(`当前资源总数:${assetManager.assets.count}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user