- Home /
Animation not showing but running
I have the player gameobject with an animation component attached, and i know it's playing because it doesn't let me move the player instantly after i already moved him, like it would do without the if statement,but all i see is the default sprite;
if (!move1.isPlaying) {
player1.transform.position = camera.ScreenToWorldPoint (new Vector3 (t.position.x, t.position.y, 0));
move1.Play ();
}
I put the animation into legacy mode, wrap mode once in both the player animation component and the animation itself, disabled automatically playing.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612085652im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
2D Animation does not start 1 Answer
Playing an animation 2 Answers
Can the animation editor create local rotational data? 3 Answers
Run Animation/Jump animation/Scripting Movement/Animations 0 Answers
Adding animation clips via script 2 Answers