mirror of https://github.com/tuyoogame/YooAsset
update samples
parent
5d9ef12577
commit
a874d17798
|
@ -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>
|
||||
/// 接收事件
|
||||
|
|
Loading…
Reference in New Issue