update samples

pull/189/head
hevinci 2023-10-10 12:17:54 +08:00
parent 5d9ef12577
commit a874d17798
3 changed files with 8 additions and 0 deletions

View File

@ -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;

View File

@ -91,6 +91,8 @@ internal class FsmInitializePackage : IStateNode
}
else
{
var version = package.GetPackageVersion();
Debug.Log($"Init resource package version : {version}");
_machine.ChangeState<FsmUpdatePackageVersion>();
}
}

View File

@ -64,6 +64,9 @@ public class PatchOperation : GameAsyncOperation
}
}
}
protected override void OnAbort()
{
}
/// <summary>
/// 接收事件