Hmm… please use code tags:) Using code tags properly
relevant…
if (Input.GetAxis("Horizontal") > 0) {
animx.SetBool ("walkingRight", true);
SR.flipX =true;
} if (Input.GetAxis("Horizontal") > 0 == false) {
animx.SetBool ("walkingRight", false);
} if (Input.GetAxis ("Horizontal") < 0) {
animx.SetBool ("walkingRight", true);
} if (Input.GetAxis ("Horizontal") < 0 == false) {
animx.SetBool("walkingRight", false);
SR.flipX =false;
}