Files
YooAsset/Assets/YooAsset/Runtime/FileSystem/DefaultEditorFileSystem/Operation/DEFSLoadBundleOperation.cs
2024-07-07 16:01:55 +08:00

30 lines
828 B
C#

namespace YooAsset
{
internal class DEFSLoadBundleOperation : FSLoadBundleOperation
{
private readonly DefaultEditorFileSystem _fileSystem;
private readonly PackageBundle _bundle;
internal DEFSLoadBundleOperation(DefaultEditorFileSystem fileSystem, PackageBundle bundle)
{
_fileSystem = fileSystem;
_bundle = bundle;
}
internal override void InternalOnStart()
{
DownloadProgress = 1f;
DownloadedBytes = _bundle.FileSize;
Status = EOperationStatus.Succeed;
}
internal override void InternalOnUpdate()
{
}
internal override void InternalWaitForAsyncComplete()
{
}
public override void AbortDownloadOperation()
{
}
}
}