Unity Canvas animation does not display problem

Problem description: I created a walk animation through a character. When I gave this animation to an image in Canvas, the animation could not be played normally. After a series of checks, I found that the animation playback in canvas was not normal. Canvas has to be animated, and their animation parameters are different. One is Image and the other is Sprite.

1. Below is the sprite animation

Insert image description here

2. Below is the animation within the UI

Insert image description here
Solution:
For these two types of animations, we need to use two different anim controllers and corresponding anim animations

Guess you like

Origin blog.csdn.net/weixin_42581660/article/details/132571703