Question: what is getkey in unity?
Answer: Description. Returns true while the user holds down the key identified by name . GetKey will report the status of the named key. This might be used to confirm a key is used for auto fire. For the list of key identifiers see Input Manager.