Update runtime code

This commit is contained in:
hevinci
2022-10-14 11:19:23 +08:00
parent 66304c91ec
commit 72a49d0ed8
3 changed files with 2 additions and 2 deletions
@@ -0,0 +1,22 @@
using UnityEngine;
namespace YooAsset
{
internal class YooAssetsDriver : MonoBehaviour
{
void Update()
{
YooAssets.Update();
}
void OnDestroy()
{
YooAssets.Destroy();
}
void OnApplicationQuit()
{
YooAssets.Destroy();
}
}
}