I have the following piece of code in FixedUpdate()
if (Input.GetKeyDown(KeyCode.E) || Input.GetKeyDown(KeyCode.Alpha1))
{
Debug.Log(string.Format("Down"));
}
When I press E, it only fires once no matter what, and if I press Num#1 it sometimes fires once and sometimes twice.
And what made it more weird, when I take this piece of code off and puts it in Update(), it no longer fires twice.
The script is attached to a simple cube object I created by 3D Objects → Cube