using UnityEngine;
using System.Collections
public class Example: MonoBehavior {
public GameObject Cube;
void update {
if (Input.GetKey(KeyCode.A)) {
Cube.transform.Translate(-Vector3.right*Time.deltaTime);
}
}
}