void SetAnimator(Vector3 move) { animator.SetFloat(forwardHash, forwardValue, 0.1f, Time.deltaTime); animator.SetFloat(turnHash, turnValue, 0.1f, Time.deltaTime); if (move.magnitude > 0) { animator.speed = 1; } }