mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-19 14:50:10 +00:00
22 lines
258 B
C#
22 lines
258 B
C#
using UnityEngine;
|
|
|
|
namespace YooAsset
|
|
{
|
|
internal class YooAssetsDriver : MonoBehaviour
|
|
{
|
|
void Update()
|
|
{
|
|
YooAssets.Update();
|
|
}
|
|
|
|
void OnDestroy()
|
|
{
|
|
YooAssets.Destroy();
|
|
}
|
|
|
|
void OnApplicationQuit()
|
|
{
|
|
YooAssets.Destroy();
|
|
}
|
|
}
|
|
} |