BCE0043 error

Hello, i’ve got a problem:

Assets/PlayerControls.js(4,28): BCE0043: Unexpected token: :.

My script is:

using; UnityEngine;
using; System.Collections;

public class PlayerControl : MonoBehaviour 
{
	
	void Update()
	{
		Movement();
	}
	
	void Movement()
	{
		if(Input.GetKey (KeyCode.D))
		{
			Transform.Translate(Vector2.right * 4f * Time.deltaTime);
			Transform.eulerAngles = new Vector2(0, 0);
		}
		
		if(Input.GetKey (KeyCode.A))
		{
			Transform.Translate(Vector2.right * 4f * Time.deltaTime);
			Transform.eulerAngles = new Vector2(0, 180);
		}
	}

}

Can you help me?

To get your code to compile:

  1. Remove the first ‘;’ on lines 1 and 2:

    using UnityEngine;
    using System.Collections;

  2. Change the four references to ‘Transform’ to ‘transform’ with a lower case ‘t’. Transform with an upper case ‘T’ is the calls. ‘transform’ with a lower case ‘t’ is the transform of this object.