parent
95924868f7
commit
a89127df1d
|
@ -9,6 +9,11 @@ namespace YooAsset
|
|||
YooAssets.InternalUpdate();
|
||||
}
|
||||
|
||||
void OnDestroy()
|
||||
{
|
||||
YooAssets.InternalDestroy();
|
||||
}
|
||||
|
||||
void OnApplicationQuit()
|
||||
{
|
||||
YooAssets.InternalDestroy();
|
||||
|
|
|
@ -1071,6 +1071,8 @@ namespace YooAsset
|
|||
|
||||
#region 内部方法
|
||||
internal static void InternalDestroy()
|
||||
{
|
||||
if (_isInitialize)
|
||||
{
|
||||
_isInitialize = false;
|
||||
_initializeError = string.Empty;
|
||||
|
@ -1088,6 +1090,7 @@ namespace YooAsset
|
|||
AssetSystem.DestroyAll();
|
||||
YooLogger.Log("YooAssets destroy all !");
|
||||
}
|
||||
}
|
||||
internal static void InternalUpdate()
|
||||
{
|
||||
OperationSystem.Update();
|
||||
|
|
Loading…
Reference in New Issue