Kizspy Question: 48
(Choose 1 answer)
How would you make the character jump only when the "W" key is pressed once?
A. Use Input.GetKey (KeyCode.W) in FixedUpdate().
B. Use Input.GetKeyDown(KeyCode.W) in Update().
C. Use Input.GetKey(KeyCode.W) in Update().
D. Use Input.GetKeyDown(KeyCode.W) in FixedUpdate().