Hi,
I’m trying to access the keyboard for a simple script and the names of the keys I want don’t seem to be working. For example:
function Update () {
if (Input.GetKeyDown ("LeftControl"))
print ("Control key was pressed");
}
This generates the error “UnityException: Input Key named: KeyCode.LeftControl is unknown.”
The Left and right Alt keys don’t seem to work either. Anybody know why? Thanks.
Zaffer