empty state
Create a new empty state in the controller state machine
and add different animations to this empty state to achieve the same effect as we did before
blend state, blend animation
Realize a walking and running effect
Create a new blend state
, set it as the default state of the layer, and double-click to open it. The
blend type is 1D, which is controlled by a Float parameter by default. If you have a Float parameter, it will be used by default. You can choose to add a new Float parameter called Blend
Add walking animation and running animation separately