去asset store下个Animancer Lite
给角色挂个Animancer Component,Animator选自己
创建个脚本控制动作切换,对比unity自带的Animator Control这个动作切换就不会有间隔。
public class TestAnimancer : MonoBehaviour
{
public AnimancerComponent _Animancer;
public AnimationClip _Idle;
public AnimationClip _Action;
bool b;