I have a string array that either has missing keycode strings or has the incorrect syntax of those keycode strings. I’ve followed the guidelines for keys down below and they should be correct. But when I run the script it can’t find the keycode strings. Is there any place I could look to double check my syntax outside of the Unity Manual?
private string[] keys = new string[]{
"[return]",
"[equals]",
"left command",
"left apple",
"left windows",
"right command",
"right apple",
"right windows"
"print",
"sysreq",
}
void Update (){
for (int i = 0; i < keys.Length; i++)
if (Input.GetKeyDown(keys*)) {*
_ Debug.Log(keys*);_
_ }_
_ }*_