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