Update YooAssetDriver.cs

pull/4/head
hevinci 2022-04-04 22:43:42 +08:00
parent f1615b4487
commit abdf2b859e
1 changed files with 12 additions and 7 deletions

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();
}
}
} }