using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ExitDrift : StateMachineBehaviour
{
    [SerializeField]
    private string driftingVariableName = "Drifting";

    [SerializeField]
    private string endDriftVariableName = "EndDrift";

    override public void OnStateExit(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
    {
        animator.SetBool(driftingVariableName, false);
        animator.SetBool(endDriftVariableName, false);
    }
}
