I just create a new Sprite and it
s animator when I want to change some animatoionclips speed.I find that:the Sprite does not have a Animation Component.
also getComponent(); can find nothing
It has Animator.
what`s wrong?
Animator is not the same as Animation. Nothing’s wrong. Your sprite just has an Animator, not an Animation.