AnyPortrait > Forum > How to Use

[Archive] CrossFadeQueued function not working properly

  • This topic has 0 replies, 1 voice, and was last updated 1 week ago by Archive AccountArchive Account.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1300
    Archive AccountArchive Account

      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.

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.
    Scroll to Top