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