Search Unity

Animation plays in the wrong place.

Discussion in 'Animation' started by KadzitsuCross, Oct 18, 2020.

  1. KadzitsuCross

    KadzitsuCross

    Joined:
    Sep 26, 2020
    Posts:
    10
    I have a problem with animation. My 2D game, in addition to the standard run and jump animations, I created another one that is called when you are near the checkpoint and press the button. I created a trigger pointed it out in the script created all the transitions. but after pressing the button, the animation is played, but after that the animation for some reason turns on when the player jumps, but I did not create such a transition. has anyone had the same problem?
     
  2. KadzitsuCross

    KadzitsuCross

    Joined:
    Sep 26, 2020
    Posts:
    10
    hang up, it turned out that the parameter of the navigation button should be set to none