Q.
I wrote it like this so that animation B plays after animation A plays.
portrait.CrossFade(“A”, 0.2f);
portrait.CrossFadeQueued(“B”);
But it seems like B starts playing right before A ends.
A.
CrossFadeQueued or PlayQueued is a function that plays the next animation immediately after the currently playing animation ends.
If there is no currently playing animation or it is a Loop type, there is no end point, so the animation is played immediately.
In this case, it seems that the problem is that Animation A is a Loop type.
Select Animation A, press the “Loop” button on the right UI to make it “OFF”, and test it to solve the problem.