mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-28 03:28:47 +00:00
Update AssetSystem
加载方法容错提示。
This commit is contained in:
@@ -20,12 +20,12 @@ namespace YooAsset
|
||||
public override void Update()
|
||||
{
|
||||
}
|
||||
public void SetCompleted()
|
||||
public void SetCompleted(string error)
|
||||
{
|
||||
if (Status == EStatus.None)
|
||||
{
|
||||
Status = EStatus.Fail;
|
||||
LastError = MainAssetInfo.Error;
|
||||
LastError = error;
|
||||
InvokeCompletion();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user