Legacy Documentation: Version 2017.2 (Go to current version)
The Animator Window
State Machine Basics
Other Versions

Animation State Machines

It is common for a character or other animated Game Object to have several different animations that correspond to different actions it can perform in the game. For example, a character may breathe or sway slightly while idle, walk when commanded to and raise its arms in panic as it falls from a platform. A door may have animations for opening, closing, getting jammed, and being broken open. Mecanim uses a visual layout system similar to a flow-chart, to represent a state machine to enable you to control and sequence the animation clips that you want to use on your character or object. This section gives further details about Mecanim’s state machines and explains how to use them.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答