mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-25 02:00:16 +00:00
Update runtime code
增加资源系统销毁方法。
This commit is contained in:
@@ -12,14 +12,6 @@ namespace YooAsset
|
||||
DebugCheckDuplicateDriver();
|
||||
YooAssets.Update();
|
||||
}
|
||||
void OnDestroy()
|
||||
{
|
||||
YooAssets.Destroy();
|
||||
}
|
||||
void OnApplicationQuit()
|
||||
{
|
||||
YooAssets.Destroy();
|
||||
}
|
||||
|
||||
[Conditional("DEBUG")]
|
||||
private void DebugCheckDuplicateDriver()
|
||||
|
||||
Reference in New Issue
Block a user