コードの結果が1フレーム遅れてしまう場合は、複数のスクリプトの単一のUnity Update()サイクルでコードが遅れてしまっているという問題が発生している可能性があります。 SetSlotsToSetupPose()を呼び出した後に skeletonAnimation.Update(0)を呼び出していますか?
もし私があなたの問題の説明を誤解してしまっている場合はその旨をお知らせください。
If you see results of your code one frame too late, it might likely be the problem that your code is called too late in a single Unity Update() cycle of multiple scripts. Are you calling skeletonAnimation.Update(0) after calling SetSlotsToSetupPose()?
Please let me know in case I misunderstood your problem description.
再現用のUnityプロジェクトをお送りいただきありがとうございました。
問題は、SetSlotsToSetupPoseの後に SkeletonAnimation.Update(0) の呼び出しが抜けていることだけです。
Anim.skeleton.SetSlotsToSetupPose();
Anim.Update(0);
投稿を見逃したか、機械翻訳が悪かったのかと思いますが、これはこのフォーラム投稿の上の方で私が提案したものです。
Thanks for sending the reproduction Unity project.
The problem is just that there is a missing call to SkeletonAnimation.Update(0) after SetSlotsToSetupPose:
Anim.skeleton.SetSlotsToSetupPose();
Anim.Update(0);
This is what I suggested on the forum posting above, perhaps you missed the post or it was badly machine-translated.