【资源】资源卸载后引用置空

dev_chengFeng
gaoxin 2021-04-22 16:58:10 +08:00
parent 12856c1287
commit 49fcaadf00
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ namespace ResMgr
return;
Resources.UnloadAsset(Asset);
}
Asset = null;
}
#if UNITY_EDITOR