mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-24 17:50:15 +00:00
update samples
This commit is contained in:
@@ -93,6 +93,9 @@ public class LoadAssetsByTagOperation<TObject> : GameAsyncOperation where TObjec
|
||||
SetFinish(true);
|
||||
}
|
||||
}
|
||||
protected override void OnAbort()
|
||||
{
|
||||
}
|
||||
private void SetFinish(bool succeed, string error = "")
|
||||
{
|
||||
Error = error;
|
||||
|
||||
@@ -91,6 +91,8 @@ internal class FsmInitializePackage : IStateNode
|
||||
}
|
||||
else
|
||||
{
|
||||
var version = package.GetPackageVersion();
|
||||
Debug.Log($"Init resource package version : {version}");
|
||||
_machine.ChangeState<FsmUpdatePackageVersion>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,6 +64,9 @@ public class PatchOperation : GameAsyncOperation
|
||||
}
|
||||
}
|
||||
}
|
||||
protected override void OnAbort()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 接收事件
|
||||
|
||||
Reference in New Issue
Block a user