unity animator trigger stuck code example
Example: unity animator trigger stuck
public void PlayAnimation(string animationName){ if (!_animator.GetCurrentAnimatorStateInfo(0).IsName(animationName)) _animator.SetTrigger(animationName); }