this my error Assets/Scripts/Player.cs(33,9): error CS1525: Unexpected symbol `}’
and this is my script
using System.Collections;
public class Player : MonoBehaviour
{
private Rigidbody2D myRigidbody;
private Animator myAnimator;
[SerializeField]
private float movementSpeed;
private bool facingRight;
// Use this for initialization
void Start ()
{
facingRight = true;
myRigidbody = GetComponent ();
myAnimator = GetComponent ();
}
// Update is called once per frame
void FixedUpdate ()
{
float horizontal = Input.GetAxis (“Horizontal”);
HandleMovement (horizontal);
Flip(horizontal)
}
private void HandleMovement(float horizontal)
{
myRigidbody.velocity = new Vector2 (horizontal * movementSpeed, myRigidbody.velocity.y); //x = -1, y = 0
myAnimator.SetFloat (“speed”, Mathf.Abs(horizontal));
}
private void Flip(float horizontal)
{
if (horizontal > 0 && !facingRight || horizontal < 0 && facingRight)
{
facingRight = !facingRight;
Vector3 theScale = transform.localScale;
theScale.x *= -1;
transform.localScale = theScale;
}
}
}