Here I changed the Animator from "2D Simple Direction" to "1D" in the Animator, what is the script to run the 1D animator?
The Animator parameter is t