public void SetState(SnailAnimatorState state) { animator.SetInteger(stateHash, (int)state); }
public bool IsState(SnailAnimatorState state) => animator.GetInteger(stateHash) == (int)state;