1/17/2023 0 Comments Unity 2d animation layers![]() ![]() This object is an Animator Controller that Unity created for you when you made the cat’s first Animation Clip, and it’s what the Animator uses to decide which animation to play. The Controller field is set to an object named cat, as shown below: ![]() To find out, select cat in the Hierarchy and look at its Animator component in the Inspector. You learned in Part 1 that Unity uses an Animator component attached to your GameObjects in order to play these clips, but how does the Animator know which clip to play? So far you’ve only been working with Animation Clips, such as ZombieWalk and CatSpawn. It’s time to make that cat dance! Getting Started Just like you did in Part 2, unzip the file and open your scene by double-clicking ZombieConga/Assets/Scenes/CongaScene.unity. If you don’t already have the project from that tutorial, download it here. This tutorial picks up where the previous part ended. In this third part of the series, you’ll get more practice creating Animation Clips, and you’ll learn how to control the playback of and transition between those clips. In the second part of the series, you learned how to animate the zombie and the cat using Unity’s powerful built-in animation system. In the first part of the series, you started making a fun game called Zombie Conga, learning the basics of Unity 4.3’s built-in 2D support along the way. Welcome back to our Unity 4.3 2D Tutorial series!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |