2024-11-29 21:37:01 +08:00

25 lines
583 B
C#

namespace YooAsset
{
internal sealed class CompletedProvider : ProviderOperation
{
public CompletedProvider(ResourceManager manager, AssetInfo assetInfo) : base(manager, string.Empty, assetInfo)
{
}
internal override void InternalOnStart()
{
}
internal override void InternalOnUpdate()
{
}
public void SetCompleted(string error)
{
if (_steps == ESteps.None)
{
InvokeCompletion(error, EOperationStatus.Failed);
}
}
}
}