update asset system

This commit is contained in:
hevinci
2023-07-28 17:17:23 +08:00
parent b22bbd4e27
commit c11f072c50
3 changed files with 6 additions and 29 deletions

View File

@@ -128,11 +128,13 @@ namespace YooAsset
#else
foreach (var provider in _providerList)
{
provider.DestroySafely();
provider.WaitForAsyncComplete();
provider.Destroy();
}
foreach (var loader in _loaderList)
{
loader.DestroySafely();
loader.WaitForAsyncComplete();
loader.Destroy();
}
_providerList.Clear();
@@ -416,7 +418,7 @@ namespace YooAsset
return null;
}
#region
#region
internal List<DebugProviderInfo> GetDebugReportInfos()
{
List<DebugProviderInfo> result = new List<DebugProviderInfo>(_providerList.Count);
@@ -444,6 +446,6 @@ namespace YooAsset
}
return result;
}
#endregion
#endregion
}
}