Unity-Nine (Animation and TimeLine)

edit animation

Add animation to game objects
In Windows , select Animation in Animations to create an animation window, then select the game object, click Creater in the Animation window , and put the generated animation in a folder. Adding animation properties can be added to game objects through Add Property
insert image description here

Displacement, scaling, rotation, color change, etc.Animation, click the plus sign to add corresponding properties.
insert image description here
Introduction to Animaiton

The red dot on the right side of Preview is the process of recording and adjusting the animation state. On the right is the pause or start of the animation, and the display of the current time frame rate.
On the right side of the Animation view is the timeline for the current clip.
You can right-click to add a keyframe

Modify the animation by adding keyframes and dragging the timeline to the corresponding position to modify the value.

Sprite animation (2D animation)

Sprite animation is generally formed by continuous playback of frame-by-frame animation pictures.
There are two ways to form sprite animation:
1. Select all continuous animation pictures under Project (you can press Shift to click all pictures) and drag them to Hierarchy, rename and save the animation.
2. Drag the animation picture to the corresponding timeline under Animation.

Guess you like

Origin blog.csdn.net/AD_GOD/article/details/123913075