When user presses a key on the keyboard or mouse button, this function will return true only at the frame when the key is just pressed down and return false afterwards.
For more information, see https://docs.unity3d.com/ScriptReference/Input.GetKeyDown.html
The key to detact input for.
A boolean value equivalent to Input.GetKeyDown(keyCode) in Unity.
Generated using TypeDoc
When user presses a key on the keyboard or mouse button, this function will return true only at the frame when the key is just pressed down and return false afterwards.
For more information, see https://docs.unity3d.com/ScriptReference/Input.GetKeyDown.html