update yooasset2.0

This commit is contained in:
hevinci
2023-09-20 16:09:52 +08:00
parent 880b6d429d
commit 01cf9ccd54
369 changed files with 6557 additions and 5490 deletions
@@ -0,0 +1,22 @@
namespace YooAsset
{
internal sealed class CompletedProvider : ProviderBase
{
public CompletedProvider(AssetInfo assetInfo) : base(null, string.Empty, assetInfo)
{
}
public override void Update()
{
}
public void SetCompleted(string error)
{
if (Status == EStatus.None)
{
Status = EStatus.Failed;
LastError = error;
InvokeCompletion();
}
}
}
}