[Unity] Animator animation

Introduction

Animtor is the animation component in Unity

insert image description here

common variables

-playback speedspeed

Common functions

  • PlayPlay the specified animation
  • SetFloatSets the value of the given float type parameter
  • SetIntegerSets the value of the given integer type parameter
  • SetBoolSets the value of the given boolean type parameter
  • SetTriggerSets the value of the given trigger
  • GetFloatGets the value of the given float type parameter
  • GetIntegerGets the value of the given integer type parameter
  • GetBoolGets the value of the given boolean type parameter
  • CrossFadeCreate a fade effect from the current state to any other state using normalized time.
  • CrossFadeInFixedTimeCreates a fade effect from the current state to any other state with a time in seconds.

Guess you like

Origin blog.csdn.net/ainklg/article/details/129774462