Why am I getting an error saying that GetKeyDown is not a member of Input?
Either you’re typing it wrong, or your script is called Input and doesn’t have a GetKeyDown function.
–Eric
Ahh. It is named Input. Thanks Eric.
If you still want the script to be called Input, you can distinguish between the two by using UnityEngine.Input.GetKeyDown() instead.
–Eric