Update runtime code

增加资源系统销毁方法。
This commit is contained in:
hevinci
2022-11-26 16:43:05 +08:00
parent b7e2f084b1
commit abc12d2a1d
2 changed files with 30 additions and 34 deletions

View File

@@ -12,14 +12,6 @@ namespace YooAsset
DebugCheckDuplicateDriver();
YooAssets.Update();
}
void OnDestroy()
{
YooAssets.Destroy();
}
void OnApplicationQuit()
{
YooAssets.Destroy();
}
[Conditional("DEBUG")]
private void DebugCheckDuplicateDriver()