Network state change animation
You can use a network state to synchronize which animation is playing for an object. There are two main options that you can choose from:
Use the
Animator.Play
method to immediately play an animation clip for an object. For more information, see Using Animator.Play(string).Use the
Animator.SetTrigger
method to activate predefined transitions between animation clips. For more information about how to define transitions, see Defining Animator transitions. For information about how to synchronize trigger activation, see Using Animator.SetTrigger(string).
If you want information about how to create animation clips, see Creating an animation in Unity.
Last updated