private void Start() { animator = GetComponent<Animator>(); } private void setBoolWalking() { animator.SetBool("isWalking", true); }