how to make a moving player in unity code example Example: play animation through script unity animator.Play("StateName");