Update YooAssetDriver.cs

This commit is contained in:
hevinci
2022-04-04 22:43:42 +08:00
parent f1615b4487
commit abdf2b859e
+12 -7
View File
@@ -2,11 +2,16 @@
namespace YooAsset namespace YooAsset
{ {
internal class YooAssetDriver : MonoBehaviour internal class YooAssetDriver : MonoBehaviour
{ {
void Update() void Update()
{ {
YooAssets.InternalUpdate(); YooAssets.InternalUpdate();
} }
}
void OnApplicationQuit()
{
DownloadSystem.DestroyAll();
}
}
} }