3 erros -A namespace can only contain types and namespace declarations : at the line 46 -A namespace can only contain types and namespace declarations : at the line 69 -Unexpected symbol `Jump' : at 34 ,3 erros :

Help me :slight_smile:
It’s my script, I can’t find a error.
Thanks.

using UnityEngine;
using System.Collections;


public class PlayerController : MonoBehaviour {

	//movement variables
	public float maxSpeed;


	//jumping variable
	bool grounded = false;
	float groundCheckRadius = 0.2f;
	public LayerMask groundLayer;
	public Transform groundCheck;
	public float JumpHeight;


	Rigidbody2D myRB;
	Animator myAnim;
	bool facingRight;

	// Use this for initialization
	void Start () {
	
		myRB = GetComponent<Rigidbody2D> ();
		myAnim = GetComponent<Animator> ();

		facingRight = true;
	}
	
	// Update is called once per frame
	void Update () {
		if(grounded && Input.GetAxis"Jump")>0) {
			grounded = false; 
			myAnim.SetBool ("isGrounded",grounded);
			myRB.AddForce(new Vector2(0,JumpHeight));  

		}

	}

	void FixedUpdate () {
		//check if we are grounded - if no, then we are falling

		grounded = Physics2D.OverlapCircle (groundCheck.position, groundCheckRadius, groundLayer);
		myAnim.SetBool ("isGrounded",grounded);

		myAnim.SetFloat ("verticalSpeed", myRB.velocity.y);    

		float move = Input.GetAxis ("Horizontal");
		myAnim.SetFloat ("speed", Mathf.Abs (move));  


		myRB.velocity = new Vector2 (move * maxSpeed, myRB.velocity.y);   
	 
		if (move > 0 && !facingRight) {
			flip (); 
		} else if (move < 0 &&facingRight) {
			flip ();

		}
	}

	void flip() {
		facingRight = !facingRight;
		Vector3 theScale = transform.localScale; 
		theScale.x *= -1;
		transform.localScale = theScale;  

	}

,

Missing brackets for GetAxis, line 34:

Input.GetAxis"Jump"

should be:

 Input.GetAxis("Jump")