Game Development Reference
In-Depth Information
Animation components
All of the animation in the new 2D system in Unity uses the new Mecanim system (intro-
duced in Version 4) for design and control, which once you get used to is very simple and
easy to use.
It is broken up into three main parts: animation controllers, animation clips, and animator
components.
Animation controllers
Animation controllers are simply state machines that are used to control when an anima-
tion should be played and how often, including what conditions control the transition
between each state. In the new 2D system, there must be at least one controller per anima-
tion for it to play, and controllers can contain many animations as you can see here with
three states and transition lines between them:
Animation clips
Animation clips are the heart of the animation system and have come very far from their
previous implementation in Unity. Clips were used just to hold the crafted animations of
the 3D models with a limited ability to tweak them for use on a complete 3D model:
Search WWH ::




Custom Search