update runtime code
重构了OperationSystem的机制。从列表模式修改为链模式
This commit is contained in:
@@ -50,15 +50,6 @@ namespace YooAsset
|
||||
PackageName = packageName;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新资源包裹
|
||||
/// </summary>
|
||||
internal void UpdatePackage()
|
||||
{
|
||||
if (_playModeImpl != null)
|
||||
_playModeImpl.UpdatePlayMode();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 销毁资源包裹
|
||||
/// </summary>
|
||||
@@ -77,6 +68,10 @@ namespace YooAsset
|
||||
_resourceManager = null;
|
||||
}
|
||||
|
||||
// 销毁文件系统
|
||||
if (_playModeImpl != null)
|
||||
_playModeImpl.DestroyFileSystem();
|
||||
|
||||
_bundleQuery = null;
|
||||
_playModeImpl = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user