Optimized raw file load logic

优化原生文件加载逻辑,支持离线运行模式和编辑器运行模式。
This commit is contained in:
hevinci
2022-04-21 16:16:40 +08:00
parent d6a2b31d5c
commit 20d2c517b2
7 changed files with 320 additions and 78 deletions
@@ -16,7 +16,7 @@ namespace YooAsset
/// <summary>
/// 编辑器下模拟运行的更新清单操作
/// </summary>
internal class EditorModeUpdateManifestOperation : UpdateManifestOperation
internal sealed class EditorPlayModeUpdateManifestOperation : UpdateManifestOperation
{
internal override void Start()
{
@@ -30,7 +30,7 @@ namespace YooAsset
/// <summary>
/// 离线模式的更新清单操作
/// </summary>
internal class OfflinePlayModeUpdateManifestOperation : UpdateManifestOperation
internal sealed class OfflinePlayModeUpdateManifestOperation : UpdateManifestOperation
{
internal override void Start()
{
@@ -44,7 +44,7 @@ namespace YooAsset
/// <summary>
/// 网络模式的更新清单操作
/// </summary>
internal class HostPlayModeUpdateManifestOperation : UpdateManifestOperation
internal sealed class HostPlayModeUpdateManifestOperation : UpdateManifestOperation
{
private enum ESteps
{